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

Prevent duplicate notifier dependencies being added #911

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

fractalwrench
Copy link
Contributor

Goal

Prevents duplicate notifier dependencies being added when RN's JS layer is reloaded, by resetting the dependency list each time.

Tests

Updated existing unit test coverage to ensure the notifier version information serializes correctly.

Copy link
Contributor

@tomlongridge tomlongridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I'd suggest removing one bit to aid readability.

@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1437.44 1358.79
arm64_v8a 369.25 287.32
armeabi 348.77 266.85
armeabi_v7a 328.29 250.47
x86 406.1 324.18
x86_64 389.73 307.8

Generated by 🚫 Danger

@fractalwrench fractalwrench merged commit a596542 into v5-react-native Jul 23, 2020
@fractalwrench fractalwrench deleted the v5rn-notifier-dep-fix branch July 23, 2020 11:16
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.

3 participants