Getting Started
Prerequisites
Getting Activation Key and Repo API Key
In order to access the VIDA SDK, you will need a Repo API Key and Activation Key
Add the Required Permissions
Add the following permissions to your app’s AndroidManifest.xml file to enable camera access and network communication:
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>Add the Vida Repository
Include VIDA’s Maven repository in your project-level build.gradle file:
maven {
url "https://sdk-repo.dev.vida.id/android"
credentials(HttpHeaderCredentials) {
name = "x-api-key"
value = "REPO-API-KEY"
}
authentication {
header(HttpHeaderAuthentication)
}
}
// Use url "https://sdk-repo.vida.id/android" for production
Add the Vida KYC SDK Dependency
In your app-level build.gradle file, add the SDK dependency according to your environment:
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
