Skip to content

PublicKeyCredentialEntry constructor not accessible #566

@olfek

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

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