Getting Started
Prerequisites
Getting Repo API Key
In order to access the VIDA SDK, you will need a Repo API Key
Add the Required Permissions
In your app's AndroidManifest.xml file, add the following permissions
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />Add the Vida Repository
In your project's build.gradle file, add the following code to include Vida's repository and credentials:
maven {
url "https://sdk-repo.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
Replace the XYZ with the version of the SDK you are using.
Last updated
