Android 11 built in crash logs collection
The quoted article says that Android 11 has built in crash logs collection. As the issue of crash analytics collection comes up often, i thought to share this here in hopes that maybe it helps in some way. I know this will still be verrrrry limited for some time - as it's just Android 11 onwards, but anyways. Quoting below:
App Exit Reasons
It’s always frustrating when your app crashes on a device you don’t control, since it makes it harder to find out why. You can implement libraries like Crashlytics to get more details on what happened, but these don’t capture everything.
Android 11 adds the ActivityManager.getHistoricalProcessExitReasons()
API, which allows you to query if and why your app may have force-quit. Reasons include ANRs, crashes, native crashes, and quite a bit more.
- https://www.xda-developers.com/android-11-features-developers-new-apis/
(ugghh, no name=
or id=
used in the article :(