FaceLiveness
Enables you to integrate live facial verification and fingerprint authentication technology into your Android applications, offering a seamless and secure way to authenticate users.
Current Version
Requirements
Minimum Android SDK API version:
minSdk 21
(Android 5 Lollipop)Android SDK API version to compile:
compileSdk 34
To publish your app on the Google Play Store, you must complete a data safety form. Since we integrate with the FingerPrintJS SDK, you'll need to provide the following information:
SDK Dependencies
FaceLiveness leverages the following external SDKs:
iProov Biometrics Android: Enables the integration of live facial verification technology.
Fingerprint Pro Android: Provides fingerprint authentication capabilities to enhance security features in your app.
These dependencies are easily managed through Gradle and are bundled with the SDK for ease of installation.
Runtime permissions
Installation
If your version of Gradle is earlier than 7, add these lines to your build.gradle
.
If your version of Gradle is 7 or newer, add these lines to your settings.gradle
.
Add support for Java 8 to your build.gradle
file. Skip this step if Java 8 is enabled.
Add the SDK version to the dependencies section in your build.gradle
file
Instantiating the SDK
First, create an object of type FaceLiveness
. This object is for you to configure all your business rules:
Builder method
Consulting a policy
To authenticate a user, use the .startSDK()
method. You must enter the user's CPF, your app's Context and a VerifyLivenessListener
object.
Parameters
Example
VerifyLivenessListener options
FaceLivenessResult
Success
Signedresponse params
The isAlive parameter is VERY IMPORTANT, based on this validation, the user can be guided to continue the flow or not. In case of isAlive: true
, it would be able to continue with the journey. If isAlive: false
, this user is not valid and should be prevented from continuing their journey.
Error
SDKFailure
ErrorType
Last updated