Learn how to integrate the Predictive Document Verification (DocV) Android SDK into your Android application.
Before getting started, check that your development environment meets the following requirements:
- Android SDK Version 22 (OS Version 5.1) and later
The DocV Android SDK v5 is compiled with:
compileSdkVersion 34
- Java 17
- Kotlin 1.8.10
Note: Auto Capture feature requires Android SDK Version 28 (OS Version 9.0) and later with at least 3 GB of RAM. If the device does not meet these requirements, only the manual capture feature will be available.
To add the DocV SDK to your application, include the Socure DocV SDK Maven repository in your build.gradle
file at the end of the allprojects > repositories
section:
allprojects {
repositories {
...
maven { url 'https://sdk.socure.com' }
}
}
Note: SDK distribution from jitpack.io is deprecated
In your module level build.gradle
file, add the following Socure DocV SDK dependency and replace x.y.z
with the DocV Android SDK version:
dependencies {
implementation 'com.socure.android:docv-capture:x.y.z'
}
For instructions on how to configure the SDK, see the Android SDK documentation on DevHub.