Android integration

Prerequisites
- Android Studio Arctic Fox and above.
- Target API level 19 (Kitkat) or later.
- Android Gradle plugin at least 7.0.0-beta04.
- DataBinding should be enabled in your project.
- Use google's Androidx library instead of the
standard or support library.
Getting started
- Before you can add Zoho Apptics to your Android app, you need to create a Project and add your app to the Apptics web.
- Download apptics-config.json, and move the file to your app (module) directory.
Product flavor and build type-specific apptics-config.json
Copied
- In root level (project level) build.gradle, add classpath and maven url for Apptics Plugin.
Copied
- Include the repo URL in the settings.gradle.
Copied
- Declare the dependencies for the Apptics Modules that you want to use in module-level build.gradle.
Apply Apptics plugin
Add the Apptics plugin in the app-level build.gradle file.
Copied
Apptics BOM
Apptics BoM (Bill of Materials) can be used to manage apptics module versions by just specifying the BoM version. A compatible set of each apptics module version will be mapped with the BoM version.
Check the Release Notes to know which apptics module versions are mapped to a specific BoM version.
Copied
Note: Individual modules dependencies can also be directly used without Apptics BoM
List of Apptics libraries
Module | Gradle dependency | Latest Version | Purpose |
---|---|---|---|
Analytics | com.zoho.apptics:apptics-analytics | 0.2.21.0 | Used for collecting events, sessions, screens, and APIs |
Crash tracker | com.zoho.apptics:apptics-crash-tracker | 0.2.21.0 | Used for collecting the crash reports from the app |
In-app feedback | com.zoho.apptics:apptics-feedback | 0.2.21.0 | Used for collecting feedback from the app |
In-app updates | com.zoho.apptics:apptics-appupdates | 0.2.21.0 | Used to show the update pop-up in the app |
In-app ratings | com.zoho.apptics:apptics-ratings | 0.2.21.0 | Used to show the rating pop-up in the app |
Remote config | com.zoho.apptics:apptics-rc | 0.2.21.0 | Used to make minor UI/UX changes in the app |
Cross promotion | com.zoho.apptics:apptics-crosspromo | 0.2.21.0 | Used to promote the family of apps |
Logger | com.zoho.apptics:apptics-logger | 0.2.21.0 | Used to get logs from the app |
Push notifications | com.zoho.apptics:apptics-pns | 0.2.21.0 | Used to send push notifications to apps |
Compatability matrix
Apptics BOM version | Apptics plugin version | AGP version |
---|---|---|
0.2 | 0.1 - 0.1.2 | 8.0.0 |
0.2.1.0+ | 0.1 - 0.1.2 | 8.0.0 |
0.2.3.0+ | 0.1.2 | 8.0 - 8.3 |
0.2.6.0+ | 0.2.0 - 0.2.3 | 8.4 - 8.8 |
0.2.16.0+ | 0.2.4 | 8.4 - 8.8 |