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

Startup timeout fixes #2080

Closed lemnik closed 2 months ago

lemnik commented 2 months ago

Goal

Use a reasonable timeout for startup crash delivery in cases when Bugsnag.start is called long after the app start.

Changeset

If the startup crash synchronous timeout would be <=0 we revert to the old behavior and block for up-to a full 2 seconds.

Testing

Relied on the existing tests being more reliable.

bugsnagbot commented 2 months ago

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1854.01 1674.71
arm64_v8a 631.04 450.82
armeabi_v7a 565.51 385.29
x86 708.85 528.62
x86_64 676.09 495.86

Generated by :no_entry_sign: Danger