For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

Requirements

Before integrating, ensure your environment meets the minimum requirements for the Face Liveness Lite SDK:

Requirement
Version

Min SDK Version (minSdk)

26

Android Compile version (compileSDK)

36

Min Kotlin version

1.9.10

Gradle version

8.4

Android Gradle Plugin (AGP)

8.3.2

Permissions

To enable the required network and camera functionality, declare the appropriate permissions and hardware features in your project's AndroidManifest.xml file.

Add the following lines within your <manifest> tag:

AndroidManifest.xml
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />

Adding repositories

To download the Face Liveness Lite SDK, add the required repository URL to the dependencyResolutionManagement block located in your project's root settings.gradle.kts file:

settings.gradle.kts
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        maven { url = uri("https://repo.combateafraude.com/android/release") }
    }
}
settings.gradle
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        maven { url "https://repo.combateafraude.com/android/release" }
    }
}

Adding the dependency

Add the SDK to the dependencies block of your app module's build file. See Current Version for the latest version.

Next step

Configure and start the liveness flow: Starting Liveness Flow

Last updated