Changelog
iOS SDK changes
- Updated the Liveness on-device model.
- Added the Portuguese (Brazilian) locale.
- If a media hasn't been uploaded correctly, the system now repeats the upload.
- Added a new method to retrieve the telemetry (logging) identifier:
getEventSessionId
. - The
setPermanentAccessToken
,configure
andlogin
methods are now deprecated. Please use thesetApiConnection
method instead. - The
setLicense(from path:String)
method is now deprecated. Please use thesetLicense(licenseSource: LicenseSource)
method instead. - Fixed some bugs and improved the SDK work.
- Fixed some bugs and improved the SDK algorithms.
- 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.
- Improved the on-device models.
- Updated the run method.
- Added new structures:
RequestStatus
(analysis state),ResultMedia
(analysis result for a single media) andRequestResult
(consolidated analysis result for all media). - The updated
AnalysisResult
structure should be now used instead ofOzAnalysisResult
. - For the
OZMedia
object, you can now specify additional tags that are not included into our tags list. - The Selfie video length is now about 0.7 sec, the file size and upload time are reduced.
- The hint text width can now exceed the frame width (when using the main camera).
- The methods below are no longer supported:
Removed method | Replacement |
analyse | AnalysisRequest.run |
addToFolder | uploadMedia |
documentAnalyse | AnalysisRequest.run |
uploadAndAnalyse | AnalysisRequest.run |
runOnDeviceBiometryAnalysis | AnalysisRequest.run |
runOnDeviceLivenessAnalysis | AnalysisRequest.run |
addMedia | uploadMedia |
- 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.
- Synchronized the default customization values with Android.
- Added the Spanish locale.
- iOS 11 is no longer supported, the minimal required version is 12.
- Fixed the issue with the server-based One shot analysis.
- Improved the SDK algorithms.
- Fixed error handling when uploading a file to API. From this version, an error will be raised to a host application in case of an error during file upload.
- Improved the on-device Liveness.
- Fixed the animation for sunglasses/mask.
- Fixed the bug with the
.document
analysis. - Updated the descriptions of customization methods and structures.
- Updated the TensorFlow version to 2.11.
- Fixed several bugs, including the Biometry check failures on some phone models.
- Added customization for the hint animation.
- Integrated a new model.
- Added the
uploadMedia
method toAnalysisRequest
. TheaddMedia
method is now deprecated. - Fixed the combo analysis error.
- Added a button to reset the SDK theme and language settings.
- Fixed some bugs and localization issues.
- Extended the network request timeout to 90 sec.
- Added a setting for the animation icon size.
- Implemented a range of UI customization options and switched to the new design. To restore the previous settings, please refer to this article.
- The
run
method now works similar to the one in Android SDK and returns an array of analysis' results.
- Synchronized the version numbers with Android SDK.
- Added a new field to the
Analysis
structure. Theparams
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. - Fixed some localization issues.
- Changed the Combo gesture.
- Now you can launch the Liveness check to analyze images taken with another SDK.
- The Zoom in and Zoom out gestures are no longer supported.
- Added a new simplified analysis structure –
AnalysisRequest
.
- Added methods of on-device analysis:
runOnDeviceLivenessAnalysis
andrunOnDeviceBiometryAnalysis
. - You can choose the installation version. Standard installation gives access to full functionality. The
core
version (OzLivenessSDK/Core
) installs SDK without the on-device functionality. - Added a method to upload data to server and start analyzing it immediately:
uploadAndAnalyse
. - Improved the licensing process, now you can add a license when initializing SDK:
OZSDK(licenseSources: [LicenseSource], completion: @escaping ((LicenseData?, LicenseError?) -> Void))
, whereLicenseSource
is a path to physical location of your license,LicenseData
contains the license information. - Added the
setLicense
method to force license adding.
- Added the Turkish locale
- Added the Kyrgyz locale
- Added Completion Handler for analysis results.
- Added Error User Info to telemetry to show detailed info in case of an analysis error.
- Added local on-device analysis.
- Added oval and rectangular frames.
- Added Xcode 12.5.1+ support.
- Added SDK configuration with licenses.
- Added the One Shot gesture.
- Improved
OZVerificationResult
: addedbestShotURL
which contains the best shot image andpreferredMediaURL
which contains an URL to the best quality video. - When performing a local check, you can now choose a main or back camera.
- Authorization sessions extend automatically
- Updated authorization interfaces.
- Added the Kazakh locale
- Added license error texts
- You can cancel network requests
- You can specify Bundle for license
- Added analysis parameterization
documentAnalyse
. - Fixed building errors (Xcode 12.4 / Cocoapods 1.10.1)
- Added license support
- Added Xcode 12 support instead of 11.
- Fixed the
documentAnalyse
error where you had to fillanalyseStates
to launch the analysis - Fixed logging
Last modified 23d ago