identity-samples icon indicating copy to clipboard operation
identity-samples copied to clipboard

CredentialManager "tap" exit leaves app in a bad state

Open nbrr opened this issue 1 year ago • 3 comments
trafficstars

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.

nbrr avatar Feb 20 '24 11:02 nbrr

I also encountered the same problem, is there a solution?

Hekapo avatar Apr 01 '24 07:04 Hekapo

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.

niharika2810 avatar Apr 28 '24 20:04 niharika2810

@neelanshsahai Could you please check this?

niharika2810 avatar Apr 28 '24 20:04 niharika2810

@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.

harismahmood88 avatar Jan 27 '25 16:01 harismahmood88

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.

cy245 avatar Feb 10 '25 22:02 cy245