Integration
To integrate our SDK into your project, follow these steps:
-
Copy the Library Files
-
Copy the
.aarfiles from thelibsfolder in this repository into alibsfolder in your project/module. -
Add the following to your
settings.gradle.ktsfile to ensure the.aarfiles can be resolved:dependencyResolutionManagement {
repositories {
flatDir {
dirs(rootDir.absolutePath + "/../libs")
}
}
} -
Reference these
.aarfiles in yourbuild.gradle.ktsfile as shown below.
-
-
Add Required Dependencies
- Include the following dependencies in your
build.gradle.ktsfile to ensure proper functionality.
- Include the following dependencies in your
Check out the sample app for an example of using a TOML version catalog.
implementation(libs.mbp.core) {
artifact {
type = "aar"
}
}
implementation(libs.mbp.liveness) {
artifact {
type = "aar"
}
}
// Navigation
implementation(libs.androidx.compose.navigation)
// Protobuf
implementation(libs.protobuf.kotlin.lite)
// BlinkID Verify SDK
implementation(libs.blinkid.verify.ux)