Add the repository and the dependency. No further configuration is required: the <queries> declaration and the R8 consumer rules are shipped inside the AAR.
dependencyResolutionManagement {
repositories {
maven(url = "https://cdn.paspo.id/cdn/android")
}
}
dependencies {
implementation("id.paspo:sdk:<version>") // core, headless API
// optional - the ready-made button (choose one; it pulls in the core)
implementation("id.paspo:ui-compose:<version>") // Jetpack Compose
implementation("id.paspo:ui:<version>") // classic Views
}
No action is required. The consumer rules are shipped inside the AAR and applied automatically when the application is built with minifyEnabled = true.
Need onboarding? Registering your package/signature and repository URL happens through Support.