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

Respect pre-populated fields on Event when notifying #906

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

fractalwrench
Copy link
Contributor

Goal

Respects pre-populated fields on Event when notifying. This prevents the case where an event is populated on React Native and its custom app/device/user etc being overridden by the Android values.

Changeset

Created populateAndNotifyAndroidEvent method which populates the event for errors captured within bugsnag-android. notifyInternal does not populate any information. This is in line with how bugsnag-cocoa works.

@bengourley bengourley self-requested a review July 17, 2020 10:15
Copy link
Contributor

@bengourley bengourley left a comment

Choose a reason for hiding this comment

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

Tested on React Native, confirmed it fixes the issue there. Haven't tested the usage of other use cases of notifyInternal.

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