bugsnag / bugsnag-android

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

Only set ANR unwind function if the bugsnag-plugin-android-anr.so was loaded successfully #2039

Closed lemnik closed 2 months ago

lemnik commented 2 months ago

Goal

Avoid a crash if the bugsnag-plugin-android-anr.so library failed to load, when attempting to set the stack unwinder function.

Testing

Manually tested by removing the bugsnag-plugin-android-anr.so from a build

bugsnagbot commented 2 months ago

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1852.64 1674.84
arm64_v8a 631.04 450.82
armeabi_v7a 565.51 385.29
x86 704.75 528.62
x86_64 676.09 495.86

Generated by :no_entry_sign: Danger