Skip to content

No response from CredentialManager.getCredential(..) #113

@danchoo21

Description

@danchoo21

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

Metadata

Metadata

Assignees

No one assigned

    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