bugsnag / bugsnag-android

BugSnag crash monitoring and reporting tool for Android apps
https://www.bugsnag.com/platforms/android/
Other
1.19k stars 205 forks source link

Do not synthesize discarded events #2108

Open YYChen01988 opened 1 week ago

YYChen01988 commented 1 week ago

Goal

Discard event should not be synthesize.

Changeset

Added a DiscardEventCallback before ExitInfoCallback so the discarded event would not be synthesized.

Testing

Existing tests

bugsnagbot commented 1 week ago

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1871.53 1675.95
arm64_v8a 647.43 450.82
armeabi_v7a 585.99 385.29
x86 725.23 528.62
x86_64 692.47 495.86

Generated by :no_entry_sign: Danger