Deactivate Active Liveness
We add a feature to enable passive liveness only for verification (by deactivating active liveness instruction).
On Android SDK version 0.6.0 and iOS SDK version tag 1.3.0, we add a feature to deactivate active liveness instruction to get passive liveness only experience. However, considering liveness detection technology is used for verification we notice to check your business security level before deciding to implement passive liveness or active-passive liveness on your application. Switching to passive liveness detection might change verification performance.

Android SDK Configuration

For the first time set up please follow the available guideline for basic implementation in this link and for advance implementation using the submission token in this link. Ensure your SDK is on version 0.6.0.

Disable Active Liveness Feature

By default, our Liveness SDK is combining active and passive liveness algorithms. To get a passive liveness experience only, you can disable the Active Liveness by adding intent extras IS_USING_ACTIVE_LIVENESS with FALSE value on your project (The default value is true).
1
intent = new Intent(MainActivity.this, Liveness.class);
2
intent.putExtra("SUBMISSION_TOKEN", "{YOUR_SUBMISSION_TOKEN}");
3
intent.putExtra("THRESHOLD", "{THRESHOLD_HERE}");
4
intent.putExtra("IS_USING_ACTIVE_LIVENESS", FALSE);
Copied!

iOS SDK Configuration

For the first time set up please follow the available guideline for basic implementation in this link and for advance implementation using the submission token in this link. Ensure your SDK is on version 1.3.0.

Disable Active Liveness Feature

By default, our Liveness SDK is combining active and passive liveness algorithms. To get a passive liveness experience only, you can disable the Active Liveness by adding SDKCOntroller isUsingActiveLiveness with FALSE value on your project.
1
@IBAction func startSDK(_ sender: UIButton) {
2
SDKController = SDKViewController(accessKey: self.accessKey, secretKey: self.secretKey, submissionToken: self.submissionToken ?? "", isUsingActiveLiveness: false)
3
SDKController?.delegate = self
4
self.present(SDKController!, animated: true)
5
}
Copied!
Tips to deactivate the Active Liveness via Client Backend
To make easy updating without changes on the application level for the quick update, you can set up the parameter through your backend, you can follow our authorization using the submission token scheme here. Return the value of the active liveness condition by your backend response so you guys can activate or deactivate the active liveness feature on the fly (without doing updates in-app store or play store).