Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-5051] Expo: use device id as default user id #1454

Merged
merged 4 commits into from
Jun 30, 2021

Conversation

bengourley
Copy link
Contributor

@bengourley bengourley commented Jun 30, 2021

For the user stability feature, it is important for user.id to have a default value. As per the spec and as per the Electron implementation, we use device.id if no user id is set.

@github-actions
Copy link

github-actions bot commented Jun 30, 2021

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 41.19 kB 12.68 kB
After 41.19 kB 12.68 kB
± No change No change

code coverage diff

Ok File Lines Branches Functions Statements
/home/runner/work/bugsnag-js/bugsnag-js/packages/plugin-expo-device/device.js 100%
(+0%)
91.67%
(+1.67%)
100%
(+0%)
100%
(+0%)

Total:

Lines Branches Functions Statements
82.36%(+0.03%) 71.8%(+0.05%) 83.45%(+0.01%) 81.4%(+0.02%)

Generated by 🚫 dangerJS against 9994ec2

@bengourley bengourley marked this pull request as ready for review June 30, 2021 10:57
@bengourley bengourley merged commit 8f3466e into next Jun 30, 2021
@bengourley bengourley deleted the bengourley/expo-device-id-default-user-id branch June 30, 2021 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants