Changelog

Android SDK changes

8.13.0 – November 12, 2024

  • Security and telemetry updates.

8.12.4 – October 01, 2024

  • Security updates.

8.12.2 – September 10, 2024

  • Security updates.

8.12.0 – August 29, 2024

  • Security and telemetry updates.

8.11.0 – August 19, 2024

  • Fixed the RuntimeException error with the server-based Liveness that appeared on some devices.

  • Security updates.

8.10.0 – July 26, 2024

  • Security updates.

  • Bug fixes.

8.9.0 – July 18, 2024

  • Updated the Android Gradle plugin version to 8.0.0.

  • Internal SDK improvements.

8.8.3 – July 11, 2024

  • Internal SDK improvements.

8.8.2 – June 21, 2024

  • Security updates.

8.8.1 – June 12, 2024

  • Security updates.

8.8.0 – June 04, 2024

  • Security updates.

8.7.3 – June 03, 2024

  • Security updates.

8.7.0 – May 06, 2024

  • Added a description for the error that occurs when providing an empty string as an ID in the setFolderID method.

  • Fixed a bug causing an endless spinner to appear if the user switches to another application during the Liveness check.

  • Fixed some smartphone model specific-bugs.

8.6.0 – Apr. 05, 2024

  • Upgraded the on-device Liveness model.

  • Security updates.

8.5.0 – Feb. 27, 2024

  • The length of the Selfie gesture is now configurable (affects the video file size).

  • You can set your own logo instead of Oz logo if your license allows it.

  • Removed the pause after the Scan gesture.

  • If the recorded video is larger than 10 MB, it gets compressed.

  • Security and logging updates.

8.4.4 – Feb. 06, 2024

  • Changed the master license validation algorithm.

8.4.3 – Jan. 29, 2024

  • Downgraded the required compileSdkVersion from 34 to 33.

8.4.2 – Jan. 15, 2024

  • Security updates.

8.4.0 – Jan. 04, 2024

  • Updated the on-device Liveness model.

  • Fixed some bugs.

8.3.3 – Dec. 11, 2023

  • Internal licensing improvements.

8.3.2 – Nov. 30, 2023

  • Internal SDK improvements.

8.3.1 – Nov. 24, 2023

  • Bug fixes.

8.3.0 – Nov. 17, 2023

  • Implemented the possibility of using a master license that works with any bundle_id.

  • Video compression failure on some phone models is now fixed.

8.2.1 – Nov. 01, 2023

  • Bug fixes.

8.2.0 – Oct. 23, 2023

  • The Analysis structure now contains the sizeReductionStrategy field. This field defines what type of media is being sent to the server in case of the hybrid analysis once the on-device analysis is finished successfully.

  • The messages for the errors that are retrieved from API are now detailed.

8.1.1 – Oct. 02, 2023

  • If multiple analyses are applied to the folder simultaneously, the system sends them as a group. It means that the “worst” of the results will be taken as resolution, not the latest. Please refer to this article for details.

  • For the Liveness analysis, the system now treats the highest score as a quantitative result. The Liveness analysis output is described here.

8.1.0 – Sept. 07, 2023

  • Updated the Liveness on-device model.

  • Added the Portuguese (Brazilian) locale.

  • You can now add a custom or update an existing language pack. The instructions can be found here.

  • If a media hasn't been uploaded correctly, the system repeats the upload.

  • Created a new method to retrieve the telemetry (logging) identifier: getEventSessionId.

  • The login and auth methods are now deprecated. Use the setAPIConnection method instead.

  • OzConfig.baseURL and OzConfig.permanentAccessToken are now deprecated.

  • If a user closes the screen during video capture, the appropriate error is now being handled by SDK.

  • Fixed some bugs and improved the SDK work.

8.0.3 – Aug. 24, 2023

  • Fixed errors.

8.0.2 – July 13, 2023

  • The SDK now works properly with baseURL set to null.

8.0.1 – June 28, 2023

  • The dependencies' versions have been brought into line with Kotlin version.

8.0.0 – June 19, 2023

  • Added the new analysis mode – hybrid (Liveness only). If the score received from an on-device analysis is too high, the system initiates a server-based analysis as an additional check.

  • Kotlin version requirements lowered to 1.7.21.

  • Improved the on-device models.

  • For some phone models, fixed the fatal device error.

  • The hint text width can now exceed the frame width (when using the main camera).

  • Photos taken during the One Shot analysis are now being sent to the server in the original size.

  • Removed the OzAnalysisResult class. The onSuccess method ofAnalysisRequest.run now uses the RequestResult structure instead of List<OzAnalysisResult>.

  • All exceptions are moved to the com.ozforensics.liveness.sdk.core.exceptions package (See changes below).

  • Classes related to AnalysisRequest are moved to the com.ozforensics.liveness.sdk.analysispackage (See changes below).

  • The methods below are no longer supported:

Public interface changes

New entities

  • AnalysisRequest.Type.HYBRID in com.ozforensics.liveness.sdk.analysis.entity

  • AnalysisError in com.ozforensics.liveness.sdk.analysis.entity

  • SourceMedia in com.ozforensics.liveness.sdk.analysis.entity

  • ResultMedia in com.ozforensics.liveness.sdk.analysis.entity

  • RequestResult in com.ozforensics.liveness.sdk.analysis.entity

Moved entities

  • NoAnalysisException from com.ozforensics.liveness.sdk.exceptions в com.ozforensics.liveness.sdk.core.exceptions

  • NoNetworkException from com.ozforensics.liveness.sdk.exceptions в com.ozforensics.liveness.sdk.core.exceptions

  • TokenException from com.ozforensics.liveness.sdk.exceptions в com.ozforensics.liveness.sdk.core.exceptions

  • NoMediaInAnalysisException from com.ozforensics.liveness.sdk.exceptions to com.ozforensics.liveness.sdk.core.exceptions

  • EmptyMediaListException from com.ozforensics.liveness.sdk.exceptions to com.ozforensics.liveness.sdk.core.exceptions

  • NoSuchMediaException from com.ozforensics.liveness.sdk.exceptions to com.ozforensics.liveness.sdk.core.exceptions

  • LicenseException from com.ozforensics.liveness.sdk.exceptions to com.ozforensics.liveness.sdk.security.exception

  • Analysis from com.ozforensics.liveness.sdk.analysis.entity to com.ozforensics.liveness.sdk.core.model

  • AnalysisRequest from com.ozforensics.liveness.sdk.analysis to com.ozforensics.liveness.sdk.core

  • AnalysisListener from com.ozforensics.liveness.sdk.analysis to com.ozforensics.liveness.sdk.core

  • AnalysisStatus from com.ozforensics.liveness.sdk.analysis to com.ozforensics.liveness.sdk.core

  • AnalysisRequest.Builder from com.ozforensics.liveness.sdk.analysis to com.ozforensics.liveness.sdk.core

  • OzException from com.ozforensics.liveness.sdk.exceptions to com.ozforensics.liveness.sdk.core.exceptions

Changed classes

OzLivenessSDK

  • Removed uploadMediaAndAnalyze

  • Removed uploadMedia

  • Removed runOnDeviceBiometryAnalysis

  • Removed runOnDeviceLivenessAnalysis

AnalysisRequest

  • Removed build(): AnalysisRequest

AnalysisRequest.Builder

  • Removed addMedia

  • Removed onSuccess(result: List<OzAnalysisResult>)

  • Added onSuccess(result: RequestResult)

7.3.1 – June 07, 2023

  • Restructured the settings screen.

  • Added the center hint background customization.

  • Added new face frame forms (Circle, Square).

  • Added the antiscam widget and its customization. This feature allows you to alert your customers that the video recording is being conducted, for instance, for loan application purposes. The purpose of this is to safeguard against scammers who may attempt to deceive an individual into approving a fraudulent transaction.

  • The OzLivenessSDK::init method no longer crashes if there is a StatusListener parameter passed.

  • Changed the scan gesture animation.

Please note: for this version, we updated Kotlin to 1.8.20.

7.2.0 – May 04, 2023

  • Improved the SDK algorithms.

7.1.4 – Mar. 30, 2023

  • Updated the model for the on-device analyses.

  • Fixed the animation for sunglasses/mask.

  • The oval size for Liveness is now smaller.

7.1.3 – Mar. 03, 2023

  • Fixed the error with the server-based analyses while using permanentAccessToken for authorization.

7.1.2 – Feb. 22, 2023

  • Added customization for the hint animation.

  • You can now hide the status bar and system buttons (works with 7.0.0 and higher).

  • OzLivenessSDK.init now requires context as the first parameter.

  • OzAnalysisResult now shows the server-based analyses' scores properly.

  • Fixed initialization issues, displaying of wrong customization settings, authorization failures on Android <7.1.1.

7.1.1 – Jan. 16, 2023

  • Fixed crashes for Android v.6 and below.

  • Fixed oval positioning for some phone models.

  • Internal fixes and improvements.

7.1.0 – Dec. 16, 2022

  • Updated security.

  • Implemented some internal improvements.

  • The addMedia method is now deprecated, please use uploadMedia for uploading.

7.0.0 – Nov. 23, 2022

  • Changed the way of sharing dependencies. Due to security issues, now we share two types of libraries as shown below: sdk is a server analysis only, full provides both server and on-device analyses:

implementation 'com.ozforensics.liveness:full:7.0.0'
implementation 'com.ozforensics.liveness:sdk:7.0.0'
  • UICustomization has been implemented instead of OzCustomization.

  • Implemented a range of UI customization options and switched to the new design. To restore the previous settings, please refer to this article.

  • Added the Spanish locale.

6.4.2.3

  • Fixed the bug with freezes that had appeared on some phone models.

  • SDK now captures videos in 720p.

6.4.1

  • Synchronized the names of the analysis modes with iOS: SERVER_BASED and ON_DEVICE.

  • Fixed the bug with displaying of localization settings.

6.4.0

  • Now you can use Fragment as Liveness screen.

  • Added a new field to the Analysis structure. The params field is for any additional parameters, for instance, if you need to set extracting the best shot on server to true. The best shot algorithm chooses the most high-quality frame from a video.

6.3.7

  • The Zoom in and Zoom out gestures are no longer supported.

6.3.6

  • Updated the biometry model.

6.3.5

  • Added a new simplified API – AnalysisRequest. With it, it’s easier to create a request for the media and analysis you need.

6.3.4

  • Published the on-device module for on-device liveness and biometry analyses. To add this module to your project, use:

    implementation 'com.ozforensics.liveness:on-device:6.3.4'

To launch these analyses, use runOnDeviceBiometryAnalysis and runOnDeviceLivenessAnalysis methods from the OzLivenessSDK class:

val mediaList: List<OzAbstractMedia> = ...
val biometryAnalysisResult: OzAnalysisResult = OzLivenessSDK.runOnDeviceBiometryAnalysis(mediaList)
val livenessAnalysisResult: OzAnalysisResult = OzLivenessSDK.runOnDeviceLivenessAnalysis(mediaList)

6.3.3

  • Liveness now goes smoother.

  • Fixed freezes on Xiaomi devices.

  • Optimized image converting.

6.3.1

  • New metadata parameter for OzLivenessSDK.uploadMedia and new OzLivenessSDK.uploadMediaAndAnalyze method to pass this parameter to folders.

6.2.8

  • Added functions for SDK initialization with LicenseSources: LicenseSource.LicenseAssetId and LicenseSource.LicenseFilePath. Use the OzLivenessSDK.init method to start initialization.

  • Now you can get the license info upon initialization val licensePayload = OzLivenessSDK.getLicensePayload().

6.2.4

  • Added the Kyrgyz locale.

6.2.0

  • Added local analysis functions.

  • You can now configure the face frame.

  • Fixed version number at the Liveness screen.

6.1.0

  • Added the main camera support.

6.0.1

  • Added configuration from license support.

6.0.0

  • Added the OneShot gesture.

  • Added new states for OzAnalysisResult.Resolution.

  • Added the uploadMediaAndAnalyze method to load a bunch of media to the server at once and send them to analysis immediately.

  • OzMedia is renamed to OzAbstractMedia and got subclasses for images and videos.

  • Fixed camera bugs for some devices.

5.1.0

  • Access token updates automatically.

  • Renamed accessToken to permanentAccessToken.

  • Added R8 rules.

  • Configuration became easier: config settings are mutable.

5.0.2

  • Fixed the oval frame.

  • Removed the unusable parameters from AnalyseRequest.

  • Removed default attempt limits.

5.0.0

  • To customize the configuration options, the config property is added instead of baseURL, accessToken, etc. Use OzConfig.Builder for initialization.

  • Added license support. Licences should be installed as raw resources. To pass them to OzConfig, use setLicenseResourceId.

  • Replaced the context-dependent methods with analogs.

  • Improved the image analysis.

  • Removed unusable dependencies.

  • Fixed logging.

Last updated