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
1dependencies {
2    implementation("com.onefootprint.native_onboarding_components:onboarding_components-android:<VERSION>")
3}

Repository configuration

You may need to add one more repository to your project's configuration. In your settings.gradle.kts:

kotlin
1dependencyResolutionManagement {
2    repositories {
3        mavenCentral()
4        maven { url = uri("https://maven.fpregistry.io/releases") }
5    }
6}

If you use a project-level build.gradle.kts, you can add the repository there instead:

kotlin
1allprojects {
2    repositories {
3        mavenCentral()
4        maven { url = uri("https://maven.fpregistry.io/releases") }
5    }
6}

Permissions

Your manifest must include the INTERNET permission:

xml
1<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.