Skip to main content

Integration

To integrate our SDK into your project, follow these steps:

  1. Copy the Library Files

    • Copy the .aar files from the libs folder in this repository into a libs folder in your project/module.

    • Add the following to your settings.gradle.kts file to ensure the .aar files can be resolved:

      dependencyResolutionManagement {
      repositories {
      flatDir {
      dirs(rootDir.absolutePath + "/../libs")
      }
      }
      }
    • Reference these .aar files in your build.gradle.kts file as shown below.

  2. Add Required Dependencies

    • Include the following dependencies in your build.gradle.kts file to ensure proper functionality.

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)