Getting Started
Prerequisites
Getting Activation Key
In order to access the VIDA SDK, you will need a Activation Key
Add the Required Permissions
In your app's AndroidManifest.xml file, add the following permissions
<uses-feature android:name="android.hardware.camera.any" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />Add the Vida Repository
In your project's build.gradle file, add the following code to include Vida's repository and credentials:
//Sandbox endpoint : https://sdk-repo.dev.vida.id/android
//Production Endpoint : https://sdk-repo.vida.id/android
maven {
url "https://sdk-repo.dev.vida.id/android"
credentials(HttpHeaderCredentials) {
name = "x-api-key"
value = "REPO-API-KEY"
}
authentication {
header(HttpHeaderAuthentication)
}
}Add the Vida Liveness Detection SDK Dependency
In your app's build.gradle file, add the following code to include the SDK dependency
Add SDK Activation Key
In your application's AndroidManifest.xml file, add the SDK activation key
Replace VIDA-ACTIVATION_KEY with the activation key provided by Vida.
Last updated
