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
When I invoke canAuthenticate() API with BIOMETRIC_STRONG Authenticator, App crashes in Samsung Galaxy A30 device.
Its working in devices like Samung Galaxy A7, Google.Pixel .
canAuthenticate() API only fails with BIOMETRIC_STRONG Authenticator, and with remaining Authenticators including combinations, it works.
Biometric Library used : 1.1.0-alpha02
Crash Log :
09-09 20:46:41.914 16847 16884 W System.err: java.lang.IllegalArgumentException: method android.hardware.biometrics.BiometricManager.canAuthenticate argument 1 has type android.hardware.biometrics.BiometricPrompt$CryptoObject, got androidx.biometric.BiometricPrompt$CryptoObject
09-09 20:46:41.914 16847 16884 W System.err: at java.lang.reflect.Method.invoke(Native Method)
09-09 20:46:41.914 16847 16884 W System.err: at androidx.biometric.BiometricManager.canAuthenticateWithStrongBiometricOnApi29(BiometricManager.java:412)
09-09 20:46:41.914 16847 16884 W System.err: at androidx.biometric.BiometricManager.canAuthenticateCompat(BiometricManager.java:381)
09-09 20:46:41.914 16847 16884 W System.err: at androidx.biometric.BiometricManager.canAuthenticate(BiometricManager.java:336)
Device Info : PFA