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
DESCRIPTION:
The new biometric-ktx authentication APIs introduced in the 1.2.0-alpha versions have a critical issue that causes the app to crash when a user fails to authenticate using the correct fingerprint or biometric method multiple times (after the second try). This issue has been consistently reproduced across various devices, including the Pixel 8 Pro, Pixel 6a, and Xiaomi 12 and emulated devices, running Android 13 and Android 14. The issue occurrs in apps that are built using Kotlin, and the biometric-ktx library.
BUILD INFO
androidx.biometric:biometric-ktx:1.2.0-alpha05
STEPS TO REPRODUCE
Class2BiometricAuthPrompt
)java.lang.IllegalStateException: Already resumed, but proposed with update CompletedExceptionally[androidx.biometric.auth.AuthPromptFailureException]
EXPECTED RESULTS
Apps should not crash, but rather survive such authentication failure.
OBSERVED RESULTS
Apps crashes when using the new API (e.g.,
Class2BiometricAuthPrompt
) after using the wrong finger twice.NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (10/10)