Sessions required
Every yes:id SDK module needs a valid session before it can run. Complete the Sessions Guide first — it takes 5 minutes and is required before the code below will work.
Installing the Touchless SDK
1. Private repository credentials
The Touchless SDK depends on native libraries hosted in a credentialed private registry. Contact yes:id to receive access credentials, then add them to your local.properties — never commit this file to version control:
local.properties
REPOSILITE_BASE_URL=https://maven.yesid.io
REPOSILITE_USERNAME=your_username
REPOSILITE_PASSWORD=your_password
2. Add the Maven repositories
settings.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven { url "https://maven.yesid.io/releases" }
maven {
url = uri("${REPOSILITE_BASE_URL}/private")
credentials {
username = REPOSILITE_USERNAME
password = REPOSILITE_PASSWORD
}
}
maven { url "https://jitpack.io" }
}
}
3. Add the dependencies
build.gradle (app)
dependencies {
implementation("io.yesid:licensing:0.5.9")
implementation("io.yesid:touchless:0.5.9") { transitive = true }
}
4. ABI filters
build.gradle (app) — android block
android {
defaultConfig {
ndk {
abiFilters += listOf("armeabi-v7a", "arm64-v8a")
}
}
}
5. Permissions
AndroidManifest.xml
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
API level
Fingerprint capture requires API 24 at runtime. Call YesidTouchlessCamera.isTouchlessSupported() to check before launching.
Ready to integrate?
Dependencies are installed. Next: Usage →