Android SDK Upgrade Notice
Dear Customer,
To provide you with a superior and more efficient service experience, we have recently undertaken a comprehensive upgrade of the Android SDK. This upgrade focuses on enhancing flexibility and scalability through an optimized architectural design.
We strongly encourage you to upgrade to version 2.0.0 as soon as possible and conduct thorough testing and regression to ensure the smooth operation of your business.
Important Changes:
- Optimization of Dependency Integration Method
Previous Dependency Method:
copy
implementation 'com.zoloz.android.build:zolozkit:latest-version' // For convenience We recommend using the latest version of the SDK as it consistently enhances product experience and security, You can refer to https://docs.zoloz.com/zoloz/saas/releasenotes/
implementation "com.squareup.okio:okio:1.7.0@jar"
implementation "com.alibaba:fastjson:1.1.68.android"
implementation 'com.zoloz.android.build:znfc:latest-version' //Optional. nfc reader support
Upgraded Dependency Method:
copy
implementation "com.squareup.okio:okio:1.7.0@jar"
implementation "com.alibaba:fastjson:1.1.68.android"
implementation "com.zoloz.android.build:zolozcore:latest-version" // For convenience We recommend using the latest version of the SDK as it consistently enhances product experience and security, You can refer to https://docs.zoloz.com/zoloz/saas/releasenotes/
implementation "com.zoloz.android.build:doc:latest-version"
implementation "com.zoloz.android.build:face:latest-version"
implementation "com.zoloz.android.build:xnn:latest-version"
implementation "com.zoloz.android.build:faceguard:latest-version"
implementation "com.zoloz.android.build:apsecurity:latest-version" //Optional Capabilities
implementation 'com.zoloz.android.build:znfc:latest-version' //Optional. nfc reader support
- Libc++_shared.so Library Integration Requirement
The new SDK version internally depends on thelibc++_shared.so
library. You need to integrate this library into their projects yourselves; failing to do so may lead to runtime exceptions. For details, please refer to the GitHub code changes following this version's release: https://github.com/zoloz-pte-ltd/zoloz-demo-android.
Specific changes:
- Add
libc++_shared.so
in thesrc/main/libs
directory. - Add configuration settings in the
build.gradle
file under theapp
directory.
copy
sourceSets {
main {
jniLibs.srcDirs = ['src/main/libs']
}
}
** Please contact ZOLOZ's technical support team for assistance if you have any further questions, or email: help@zoloz.com