Gradle Source Code

Installation

Gradle Configuration

Add these lines to your android/build.gradle.

allprojects {
    repositories {
        google()
        mavenCentral()
        //Your maven should be like this
        maven { url = uri("https://repo.combateafraude.com/android/release") }
        maven { url = uri("https://raw.githubusercontent.com/iProov/android/patch912/maven/") }
        maven { setUrl("https://maven.fpregistry.io/releases") }
        maven { setUrl("https://jitpack.io") }
    }
}

Java 8 Compatibility

If Java 8 is not enabled, add support to your android/app/build.gradle:

android {
    ...
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

Adding SDK Dependency

Include the FaceLiveness SDK in your android/app/build.gradle dependencies:

dependencies {
    implementation("io.caf.sdk:smart-auth:1.0.0-beta-1")
    implementation("com.combateafraude.sdk:new-face-liveness:3.2.3")
}

Last updated

Logo

2023 © Caf. - All rights reserved