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
PublicKeyCredentialEntryconstructor not accessiblesnippets/identity/credentialmanager/src/main/java/com/example/identity/credentialmanager/MyCredentialProviderService.kt
Lines 210 to 220 in 33c4bc2
PublicKeyCredentialEntryconstructor isinternal, we need to usePublicKeyCredentialEntry.BuilderSnippet is used here and needs updating - https://developer.android.com/identity/sign-in/credential-provider#handle-user-sign-in