Android SDK ยท Integration

Guide to Integrate Tap2iD Android SDK

Step-by-step instructions to add the Tap2iD SDK to your Android application using Gradle and the Credence ID Nexus repository. From prerequisites to first build in minutes.

Android Studio Otter 2
JDK 17
Android 10+
Gradle 8.14.3
01
PrerequisitesEnvironment setup
02
Nexus RepositoryAdd to settings.gradle
03
SDK DependencyAdd to build.gradle
04
CompleteStart building
Before you start

Prerequisites

Ensure your development environment meets the following requirements before proceeding with the integration.

  • AS Android Studio โ€” Otter 2 Feature Drop | 2025.2.2 Patch 1
  • โ˜• JDK Version: 17.0.7
  • ๐Ÿ”ง Gradle Wrapper: gradle-8.14.3-bin.zip
  • ๐Ÿ“ฑ Minimum OS Version: Android 10 (API level 29)
01

Add the Nexus Repository

Add the Credence ID Nexus repository to the settings.gradle file of your project. This enables the SDK packages to be resolved during the build.

โ„น Place this in your project-level settings.gradle (or settings.gradle.kts), inside dependencyResolutionManagement.
settings.gradle
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        jcenter()
        maven(url = "https://jitpack.io")

        maven {
            url = uri("https://nexus.credenceid.com/repository/credenceid-sdk-group/")
        }
    }
}
02

Add the Tap2iD SDK Dependency

Include the SDK dependency in the build.gradle file of your app module.

app/build.gradle
dependencies {
    implementation("com.credenceid:tap2idSdk:2.0.0")
}

Installed package

After syncing, verify the following package appears in your app's dependencies:

๐Ÿ“ฆ
com.credenceid:tap2idSdk:2.0.0 primary
๐ŸŽ‰
You're all set!
Sync the project โ€” you can now access all Tap2iD Android SDK APIs in your application.

Next steps