bugsnag / bugsnag-expo

MIT License
10 stars 5 forks source link

Replace Constants.installationId with a generated device id #181

Closed yousif-bugsnag closed 2 months ago

yousif-bugsnag commented 2 months ago

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 using expo-secure-store.

This means there is now an additional peer dependency on expo-secure-store that must be installed alongside @bugsnag/expo

Changeset

Testing