Closed yousif-bugsnag closed 2 months ago
Replaces the usage of Constants.installationId (which has been removed in SDK 51) with our own generated device id.
Constants.installationId
The device id is now generated using @bugsnag/cuid and is stored/retrieved synchronously on start using expo-secure-store.
@bugsnag/cuid
expo-secure-store
This means there is now an additional peer dependency on expo-secure-store that must be installed alongside @bugsnag/expo
@bugsnag/expo
plugin-expo-device
bugsnag-expo-cli
UPGRADING.md
Goal
Replaces the usage of
Constants.installationId
(which has been removed in SDK 51) with our own generated device id.Design
The device id is now generated using
@bugsnag/cuid
and is stored/retrieved synchronously on start usingexpo-secure-store
.This means there is now an additional peer dependency on
expo-secure-store
that must be installed alongside@bugsnag/expo
Changeset
@bugsnag/cuid
dependency andexpo-secure-store
peer dependency toplugin-expo-device
Constants.installationId
with our own generated device idbugsnag-expo-cli
to automatically install theexpo-secure-store
peer dependencyUPGRADING.md
Testing