2 min read

The Android SDK adds the Footprint onboarding flow to your Kotlin or Java app.

Minimum version requirements

Set compileSdk to 35 or later and minSdk to 26 or later in your app's Gradle file.

Installation

Add the SDK dependency from Maven Central to your app's build.gradle.kts:

kotlin
1dependencies {
2    implementation("com.onefootprint.native_onboarding_components:onboarding_components-android:<VERSION>")
3}

Permissions

Your manifest must include the INTERNET permission:

xml
1<uses-permission android:name="android.permission.INTERNET" />

Device intelligence

The SDK can collect device signals through Fingerprint, a third-party provider. Add its optional dependency if your playbook uses device intelligence rules. Onboarding can complete without it. If your app already bundles Fingerprint, you can leave it out to avoid a duplicate native framework.

To collect and send the signals, add the Fingerprint Maven repository in settings.gradle.kts:

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

Then add the dependency in your app's build.gradle.kts:

kotlin
1dependencies {
2    implementation("com.fingerprint.android:sdk:4.2.0")
3}

Next steps

  • Onboarding starts an onboarding from your app and handles the onboarding ID it returns.