androidgoogle-signincredential-managerandroid-credential-manager

Dismiss/Cancel button with auto login flow using Credential Manager on Android


In the old google one tap flow on Android, there was a dismiss button which can cancel the "auto login" flow once the auto login is initiated. However, when using Android credential manager, there is no dismiss or cancel button to cancel the "auto login" flow once it is initiated. I looked into the public api to find any related method which enables such a dismiss button. Is there any option to enable which allows this?

Old Flow With Dismiss Button New Credential Manager Flow

Credentials library version used: 1.2.2


Solution

  • Currently, you can use the Back button/gesture to cancel the flow when that transient confirmation page is shown. Do you feel having an explicit "Cancel" button will help?