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

Add global metadata to ANR error reports #1095

Merged
merged 1 commit into from
Jan 28, 2021
Merged

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Jan 27, 2021

Goal

Ensures that global metadata is added to ANR error reports. These were previously omitted.

Changeset

When creating an event in NativeInterface, call client.getMetadataState().getMetadata(); to pass into the metadata parameter

Testing

Unit test coverage has been updated to mock client.getMetadataState().getMetadata(); where necessary. The ANR smoke scenario has also been updated to confirm that local & global metadata can be added to ANRs.

@fractalwrench fractalwrench force-pushed the PLAT-5783/anr-metadata branch 2 times, most recently from 12bbbb0 to 52773aa Compare January 27, 2021 16:27
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Jan 27, 2021

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1463.98 1378.65
arm64_v8a 377.51 291.5
armeabi 357.03 271.01
armeabi_v7a 340.65 250.54
x86 418.45 328.34
x86_64 397.98 311.97

Generated by 🚫 Danger

@fractalwrench fractalwrench force-pushed the PLAT-5783/anr-metadata branch from 52773aa to 2470b1b Compare January 27, 2021 19:52
@fractalwrench fractalwrench marked this pull request as ready for review January 28, 2021 09:28
@fractalwrench fractalwrench merged commit 70e6d29 into next Jan 28, 2021
@fractalwrench fractalwrench deleted the PLAT-5783/anr-metadata branch January 28, 2021 14:18
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