Releases: Acuant/AcuantAndroidMobileSDK
V5.2.2
v5.2.1
Resolved a memory leak issue (MOBILE-601)
v5.2
v5.1
Acuant Android Mobile SDK version 5.1
- Resolved an image capture issue in Google Pixel (1st Gen) phone
- Resolved an error that occurred when processing U.S. and Canadian driver's licenses, with both front and back images, without a barcode string
- Resolved the issue of image capture was getting stuck in BLU R1 HD Cell Phone
- Supported rotation of UI messages while the camera is rotated in landscape mode by 180 degrees
- Resolved the issue of onFacialRecognitionCompleted being called back to back
- Resolved a crash when trying to open camera for facial workflow, then close it and then immediately open again
- Resolved an issue of Location Permission being requested while initializing the SDK when AssureID is enabled on the license key
v5.0
Acuant Android Mobile SDK version 5.0
-
Added glare to the ImageMetrics parameter:
if(imageMetrics!=null && imageMetrics.get("HAS_GLARE")!=null) { boolean hasGlare = Boolean.parseBoolean(imageMetrics.get("HAS_GLARE").toString()); } if(imageMetrics!=null && imageMetrics.get("GLARE_GRADE")!=null) float glareGrade = Float.parseFloat(imageMetrics.get("GLARE_GRADE").toString()); }
In general, a glare grade of 1 means no glare and 0 means there is a high chance of having a glare in the captured image. A glare grade 0.88f and above means there is no glare.
The following methods use ImageMetrics:
-
onCardCroppingFinish
-
onCancelCapture
-
onBarcodeTimeOut
v4.9
Acuant Android Mobile SDK version 4.9
-
Resolved an issue where a white bar was displayed on the top Sony Xperia Z5P camera view while capturing an image.
-
Resolved an issue which caused an occasional NullPointerException when opening the camera to capture an image.
-
Resolved an issue which caused a liveliness check to rotate the camera by 180 degrees on a Google Nexus 6.
-
Resolved an issue where onCardCroppingStart did not get called when cropping on the barcode side is enabled.
-
Resolved an issue where onOriginalCapture was returning null even if original capture was set to true.
-
Added the ImageMetrics parameter to the following methods:
-
onCardCroppingFinish
-
onCancelCapture
-
onBarcodeTimeOut
-
The ImageMetrics parameter has the sharpness information of a cropped image. An image with a sharpness grade of 0.3f or above is considered a sharp image. The information can be retrieved as follows:
if(imageMetrics!=null && imageMetrics.get("IS_SHARP")!=null){
boolean isSHarp = Boolean.parseBoolean(imageMetrics.get("IS_SHARP").toString());
}
if(imageMetrics!=null && imageMetrics.get("SHARPNESS_GRADE")!=null){
float sharpnessGrade = Float.parseFloat(imageMetrics.get("SHARPNESS_GRADE").toString());
}
v4.8.1
Acuant Android Mobile SDK version 4.8.1
Changes:
-
Added the following API to check whether the SDK controller was validated.
public synchronized boolean isSDKValidated()
-
Added a method to CardCroppingListener to capture the begining of image capture event:
void onCardImageCaptured();
-
Added logTransaction property to ProcessImageRequestOptions. If logging is enabled on the license key and logTransaction is set to true then transaction response is saved on the Acuant cloud for future retrieval.
-
Added the property imageSettings to ProcessImageRequestOptions. The default value for imageSettings is -1. Please set this value to -1 always unless any special instruction is provided.
-
Removed "IsFacialEnabled" from the FacialData.
-
Added new CardType constant CardType.AUTO. If CardType.AUTO is set, then onCardCroppingFinish the last parameter will contain the automatically detected card type.
v4.8
Change Log
Acuant Android MobileSDK version 4.8
Changes:
-
Improved ID and passport cropping.
-
Fixed Nexus 5X image rotation issue.
-
Fixed focus issue for Samsung S7 US models.
-
Added a check for scanned document type. For example, if a driver's license is scanned instead of a passport then SDK will throw an error (AcuantErrorIncorrectDocumentScanned).
-
Modified the signature of the following two methods to output the detected card type after cropping.
1. Old function signature : public void onCardCroppingFinish(final Bitmap bitmap, final boolean scanBackSide) New function signature : public void onCardCroppingFinish(final Bitmap bitmap, final boolean scanBackSide, int detectedCardType) 2. Old function signature : public void onCardCroppingFinish(Bitmap bitmap) New function signature : public void onCardCroppingFinish(Bitmap bitmap,int detectedCardType);
-
Added an API to enable original image capture. By default it is disabled.
acuantAndroidMobileSdkControllerInstance.setCaptureOriginalCapture(false);
-
Removed the imageSource variable from ProcessImageRequestOptions . No need to set this variable anymore.
v4.7
Acuant Android MobileSDK version 4.7
Changes:
-
Resolved focus issue for Samsung Galaxy S7
-
Memory optimization
-
Added an API to clean SDK Controller variables
@Override protected void onDestroy() { super.onDestroy(); acuantAndroidMobileSdkControllerInstance.cleanup(); }
-
Improved image cropping for IDs and Passports
v4.6
Acuant Android MobileSDK version 4.6
Changes:
-
Optimizations for Android 7.
-
Modified the signature of onBarcodeTimeOut
from, public void onBarcodeTimeOut(); to, public void onBarcodeTimeOut(Bitmap croppedImage,Bitmap originalImage); /*This function will be triggered to alert that the capture is pending without closing the camera view. The argument croppedImage will have the cropped image of the last frame before this function is triggered.If the frame could not be cropped this argument will be null.*/
-
When the barcode side cropping is enabled, the following listener function will be called to retrieve the original image of the barcode side.
public void onOriginalCapture(Bitmap bitmap);
-
Added API to enable Barcode side image capture and cropping when back button is pressed on the barcode capture camera interface.
/*setCropBarcodeOnCancel : Enable or disable the barcode image cropping while pressing the back button.The default if false;*/ setCropBarcodeOnCancel(true);
-
Modified the onCancelCapture call back as below :
public void onCancelCapture(Bitmap croppedImage,Bitmap originalImage); /*Called when the user tap the back button.If the back button is pressed in barcode interface and the barcode cropping on cancel is enabled then the arguments will contain the cropped image and original image.Otherwise the arguments will be null.*/