`PublicKeyCredentialEntry` constructor not accessible

Open
#566 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@florina-muntenescu is already working on this.

Since Jul 12, 2025.

Assessment

This issue has not been assessed yet.

Description

PublicKeyCredentialEntry constructor not accessible

https://github.com/android/snippets/blob/33c4bc24591e6d4ada77b52e58b0ac9d3b26622f/identity/credentialmanager/src/main/java/com/example/identity/credentialmanager/MyCredentialProviderService.kt#L210-L220

PublicKeyCredentialEntry constructor is internal, we need to use PublicKeyCredentialEntry.Builder

Snippet is used here and needs updating - https://developer.android.com/identity/sign-in/credential-provider#handle-user-sign-in

Dominant language
Kotlin
Stars
1.2k
Forks
448
Avg merge
4d 22h
Merged PRs (30d)
42

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/snippets

All issues in android/snippets

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.