Crash Analytics
You need to do a minimum configuration to get started with crash reporting and analytics.
Before you begin, make sure that your app is already registered and configured in Zoho Apptics.
If not, then create a project and add your app in Apptics and download the config.plist file for your app.
Add the AppticsAnalytics dependency in your app's build.gradle file.
Copieddependencies {
implementation "com.zoho:apptics-analytics:0.1"
}
Crashes are automatically tracked in Apptics from the point AppticsAnalytics initializer method was called. You can do this in your app's Application class's onCreate() method.
CopiedAppticsAnalytics.init(applicationInstance)
Custom properties
Custom properties allow you to get the specific state of your app that led to a crash. To send custom properties along with a crash, set a JSONObject to the customProperties field.
CopiedAppticsAnalytics.customProperties