Migration 2.18.x to 2.19.x version
This document is intended to highlight the main changes from the previous 2.18.x version and the 2.19.0 version. For more information, please refer to the javadoc included in the SDK distribution file.
FaceDetectionFeedbackListener
In order to allow the device rotation in the facial recognition screen a new method has been added to this callback:
new FaceDetectionFeedbackListener() {
@Override
public void onFaceDetection(MobbScanDetectionFeedbackResult result, MobbScanFaceDetectionFeedbackData feedbackData) { }
@Override
public void onNewOrientationDetected(int rotation) { }
};
OpenCV dependency
MobbScan used to include a modified version of OpenCV inside the .aar
files.
In case the final app would use OpenCV for anything else, this would imply a duplication of dependencies.
Now a new library is added to the required libraries for MobbScan Android SDK which is included with the rest of libraries.
implementation (opencv-android-3.3.1-lite)
NFC Scan dependencies
MobbScan used to include two libraries for internal use being jmrtd and scuba. These are now removed from the inside of the MobbScan Android SDK aar files and they have to be included by the developer.
implementation ('org.jmrtd:jmrtd:0.7.18')
implementation ('net.sf.scuba:scuba-sc-android:0.0.20')