credentials registry

  
To solve for these, we are adding a new registry mechanism that allows an app to provide digital credentials in a privacy-preserving way. At a high level, the provider app will be pre-registering all their candidate digital credentials with the Credential Manager; When Credential Manager receives an app request for a specific digital credential, it will run the credential matching and user selector UI in a sandbox.
Latest Update Stable Release Release Candidate Beta Release Alpha Release
October 16, 2024 - - - 1.0.0-alpha01

Declaring dependencies

To add a dependency on credentials registry, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies {
    // Use to implement credentials registrys

    implementation "androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01"
    implementation "androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01"
    implementation "androidx.credentials.registry:registry-provider:1.0.0-alpha01"
    implementation "androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01"

}

Kotlin

dependencies {
    // Use to implement credentials registrys

    implementation("androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01")
    implementation("androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01")
    implementation("androidx.credentials.registry:registry-provider:1.0.0-alpha01")
    implementation("androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01")

}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Credentials Registry 1.0

Version 1.0.0-alpha01

October 16, 2024

androidx.credentials.registry:registry-*:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features

  • New Credential Manager provider registry support: allow providers to pre-register credential metadata with Credential Manager which can be later surfaced to the user by the Credential Manager upon an incoming app request.
  • Added ISO/IEC mdoc credential APIs for registering mdoc credentials
  • Also added a preview protocol based registry to demonstrate the end-to-end capability