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:
kotlin1dependencies {
2 implementation("com.onefootprint.native_onboarding_components:onboarding_components-android:<VERSION>")
3}
Replace
<VERSION> with the version you want to use from Maven Central. Use the latest release for a new integration.
Permissions
Your manifest must include the INTERNET permission:
xml1<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:
kotlin1dependencyResolutionManagement {
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:
kotlin1dependencies {
2 implementation("com.fingerprint.android:sdk:4.2.0")
3}
Fingerprint hosts its Android SDK on a custom Maven repository. Without it, the build fails with dependency resolution errors.
For Footprint Android SDK 1.6, use
com.fingerprint.android:pro:2.10.0. Versions 1.7 and later use com.fingerprint.android:sdk.Next steps
- Onboarding starts an onboarding from your app and handles the onboarding ID it returns.