bugsnag-android
bugsnag-android copied to clipboard
Background ANRs are not tracked
The SIGQUIT-based ANR tracker that's present in the library doesn't track ANRs that happen in background if user has "Show background ANRs" switched off (which is the default value) in Developer options.
Any workaround for this?
Logs when the ANR occurs (without any dialog):
Thread[4,tid=14199,WaitingInMainSignalCatcherLoop,Thread*=0x712fa7be90,peer=0x12c40cd8,"Signal Catcher"]: reacting to signal 3
I Wrote stack traces to tombstoned
Process com.my.package (PID: 14189) ended
Hi @vibin 👋
At present Bugsnag does not track background ANRs even if the user has the option to 'show background ANRs' disabled. We've passed this onto our product team to consider adding to our roadmap. We'll update you here on any changes in the future.
Heads up: Crashlytics alpha build has started tracking (background + foreground) ANRs with the help of getHistoricalProcessExitReasons on Android 11 and above.
This would be a sweet addition to Bugsnag