-
Notifications
You must be signed in to change notification settings - Fork 259
Description
Execution Environment:
OS: Android 14
Device: Samsung Galaxy S24
Issue:
After calling CredentialManager.getCredential(..), the BottomSheetDialog does not appear, and there is no response.
I encountered this issue.
When I tried to reproduce it, I observed the following behavior:
If the dialog fails to open properly for some reason, the suspend function locked and does not proceed. but not crash and not throw exception.
Test Environment:
Virtual Device: Pixel 8 Pro (API 34)
Reproduction Steps:
Touch the screen to close the BottomSheetDialog before it fully appears.
Observed Behavior:
After calling CredentialManager.getCredential(..), there is no response.
It occurs in the following API.
@RequiresApi(34)
suspend fun getCredential(
context: Context,
pendingGetCredentialHandle: PrepareGetCredentialResponse.PendingGetCredentialHandle,
) : GetCredentialResponse
suspend fun getCredential(
context: Context,
request: GetCredentialRequest,
): GetCredentialResponse