ANR
You need to do a minimum configuration to get started with Apptics' ANR.
- Add the AppticsAnalytics dependency in your app's build.gradle file.
Copieddependencies {
implementation "com.zoho:apptics-analytics:0.1"
}- ANRs are automatically tracked in Apptics from the point AppticsAnalytics initializer method is called. You can do this in your app's Application class's onCreate() method.
CopiedAppticsAnalytics.init(applicationInstance)- To avoid tracking ANRs in your app, add the below code in your Application class's onCreate method.
CopiedAppticsAnalytics.trackAnr = false //By default, its value is true