Visitar URL original
`PublicKeyCredentialEntry` constructor not accessible · Issue #566 · android/snippets · GitHub
Skip to content

PublicKeyCredentialEntry constructor not accessible #566

Open

Description

@olfek

PublicKeyCredentialEntry constructor not accessible

PublicKeyCredentialEntry(
context = applicationContext,
username = passkey.username,
pendingIntent = createNewPendingIntent(
GET_PASSKEY_INTENT_ACTION,
data
),
beginGetPublicKeyCredentialOption = option,
displayName = passkey.displayName,
icon = passkey.icon
)

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

Activity

  1. olfek commented on Jul 12, 2025

    @olfek
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions