Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
It seems that onAuthenticationError is not always called on the Pixel 2 running Android 11 when dismissing the prompt. The same does not happen on the Pixel running Android 10.
See the sample project. These are the steps to reproduce the bug: Press one of the two buttons and start tapping immediately on the top half of the screen so that the prompt is dismissed as soon as it appears.
The problem seems to occur when using both the native prompt and the one from androidx, with an important difference. Once the native prompt is dismissed, it's still possible to reopen it. As soon as the prompt is reopened, onAuthenticationError() gets called. When using the androidx one I need to either put the app in background or open the native prompt, otherwise the prompt does not show up.