Introduction
2 min read
The Android SDK adds the Footprint onboarding flow to your Kotlin or Java app.
Minimum version requirements
The Android SDK requires compileSdk 35 or above and minSdk 26 or above in your app's Gradle file. Older versions can cause unexpected issues or stop the package from working.
Installation
The Android SDK is published on Maven Central. In your app's build.gradle.kts, add this line to the dependencies block:
kotlin
Replace
<VERSION> with a version number. We recommend the latest version published on Maven Central.
Repository configuration
You may need to add one more repository to your project's configuration. In your settings.gradle.kts:
kotlin1dependencyResolutionManagement { 2 repositories { 3 mavenCentral() 4 maven { url = uri("https://maven.fpregistry.io/releases") } 5 } 6}
One of the SDK's dependencies is hosted on this repository. Without it, you may hit dependency resolution errors during installation.
If you use a project-level build.gradle.kts, you can add the repository there instead:
kotlin1allprojects { 2 repositories { 3 mavenCentral() 4 maven { url = uri("https://maven.fpregistry.io/releases") } 5 } 6}
Permissions
Your manifest must include the INTERNET permission:
xml1<uses-permission android:name="android.permission.INTERNET" />
Next steps
- Onboarding (KYC/KYB) starts an onboarding from your app and handles the validation token it returns.