Getting Started
Adding Dependencies
To install the latest Smartech-Apxor SDK in your project, add the following line to the dependencies section in the app-level build.gradle
For AndroidX
- If you are migrated to AndroidX and using AndroidX dependency of WorkManager, then please add the following Smartech SDK dependency.
implementation 'in.netcore.smartech.apxor.core:smartech-apxor-fcm:2.2.14'
implementation 'androidx.work:work-runtime:2.3.4'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.code.gson:gson:2.8.5'
For non AndroidX
implementation 'in.netcore.smartech.apxor.core:smartech-apxor-fcm:2.0.14'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.google.firebase:firebase-messaging:17.6.0'
// After updating to Smartech-Apxor SDK version 2.0.+, please add below dependancy.
implementation 'android.arch.work:work-runtime:1.0.1'
Note :
cancelAllWork ()
Cancels all unfinished work. Use this method with extreme caution! By invoking it, you will potentially affect the Smartech SDK and other modules or libraries in your codebase. It is strongly recommended that you use one of the other cancellation methods at your disposal.- If you are using AndroidX add the following property in the
gradle.properties
file
android.enableJetifier=true
APXOR Android SDK Integration Guide
Please follow this link : https://docs.apxor.com/docs/SDK/smartech-apxor-android-guide/
Smartech Android SDK Integration Guide
Please follow this link : [https://docs.netcoresmartech.com/docs/android-sdk-v2-integration] (https://docs.netcoresmartech.com/docs/android-sdk-v2-integration)
Note :
- Skip the dependency part from Native Netcore Android SDK.
- Please add dependency as mention above.
Updated almost 4 years ago