My application is published in other distribution(Not play store), I want to generate ANR logs in Firebase Crashlytics Android.
I am using firebase Bom library and its working in android 11 but not working in lower then 11
implementation platform('com.google.firebase:firebase-bom:30.3.1')
implementation 'com.google.firebase:firebase-analytics-ktx'
The API being by Crashlytics to obtain ANRs is "getHistoricalProcessExitReasons" which is only available on Android 11+ devices.
Check this document for reference.