Installation
Add the Vouch Android SDK to your project via Maven Central.
Requirements
Before installing the Vouch Android SDK, ensure your development environment meets the following requirements:
- Android SDK: 26 or later
- Maven Central: repository access enabled
For installation steps on lower SDK versions, check Integration with lower SDK
Installation
Add the SDK from Maven Central to your app module.
Step 1: Ensure Maven Central is included
In your project-level settings.gradle or build.gradle, make sure mavenCentral() is present:
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}Step 2: Add the dependency
Add the dependency to your app module build.gradle, replacing LATEST_VERSION with the latest version on Maven Central:
dependencies {
implementation("io.getvouch:android-sdk:LATEST_VERSION")
}If you are using Groovy Gradle:
dependencies {
implementation 'io.getvouch:android-sdk:LATEST_VERSION'
}Verification
After installation, verify the SDK is properly integrated by importing it in your Kotlin files:
import com.vlayer.vouch.sdk.VouchSdkIf the import succeeds without errors, the SDK has been installed correctly. You can now proceed to the Usage Guide (Kotlin) to learn how to integrate verification flows into your application.
Last updated on