Migration 2.19.x to 2.21.x version
This document is intended to highlight the main changes from the previous 2.19.x version and the 2.21.x version. For more information, please refer to the javadoc included in the SDK distribution file.
Removed dependencies
The following dependencies have been removed:
implementation(name:'mobbid-face-validator-android-2.19.x', ext:'aar')
implementation(name:'mobbidsdk-core-android-5.2.3', ext:'aar')
implementation(name:'mobbidsdk-face-android-5.2.3', ext:'aar')
implementation(name:'mobbidsdk-face-ux-android-5.2.3', ext:'aar')
Please, ensure you remove these libraries from both the lib
directory and the app build.gradle
.
Added dependencies
The following dependencies have been added:
implementation(name:'mobb-face-ux-1.0.5', ext:'aar')
Rest of the dependencies need to be updated from 2.19.x
version to 2.21.0
version.
Breaking changes
MobbScanImageType
Previous:
MobbScanImageType.FACE
Now:
MobbScanImageType.FACE_DOCUMENT
MobbScanFaceValidationMode
Previous:
MobbScanFaceValidationMode.LIVENESS_SMILE
Now:
You can choose between two different face validation approaches:
- Face validation with head movement:
MobbScanFaceValidationMode.LIVENESS_VIDEO_HEAD_MOVEMENT
- Face validation without movement:
MobbScanFaceValidationMode.DEFAULT
Please, refer to the face matching section to get more information.