identity-samples
identity-samples copied to clipboard
CredentialManager "tap" exit leaves app in a bad state
Steps, executed on a Samsung Galaxy S23 running Android 14:
- run CredentialManagerSample app, built from current main branch
- click "SIGN UP"
- enter a username and click "Sign Up with passkey"
- when the passkey creation dialog is open, tap outside the dialog
- the dialog is closed and the app is stuck with "operation in progress" and disabled buttons
When the dialog is exited with the cancel button, the app informs with a dialog that the user cancelled.
I also encountered the same problem, is there a solution?
Hi, thank you for sharing. Could you please share a video recording so that we fix the right issue? Looks like I already understand this.
@neelanshsahai Could you please check this?
@niharika2810 is this issue fixed? I just integrated the credentials manager and it's still showing the same issue. I'm using the 1.3.0 version.
This is an exception intentionally handled in the sample code: https://github.com/android/identity-samples/blob/84b36ef5e449ebb15120e82d99c82623aa527a16/CredentialManager/app/src/main/java/com/google/credentialmanager/sample/SignUpFragment.kt#L222. If you want to handle it differently feel free to modify it in your local repo.