Fixed
Status Update
Comments
ro...@miquido.com <ro...@miquido.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
cu...@google.com <cu...@google.com>
ap...@google.com <ap...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
// key generation
val keyGenerator = KeyGenerator.getInstance("AES", "AndroidKeyStore")
keyGenerator.init(
KeyGenParameterSpec.Builder(alias, PURPOSE_ENCRYPT or PURPOSE_DECRYPT)
.setBlockModes(BLOCK_MODE_GCM)
.setEncryptionPaddings(ENCRYPTION_PADDING_NONE)
.setUserAuthenticationRequired(true)
.setUserAuthenticationValidityDurationSeconds(-1)
.build()
)
val secretKey = keyGenerator.generateKey()
// cipher initialization
val encryptCipher = Cipher.getInstance(CIPHER_TRANSFORMATION)
encryptCipher.init(Cipher.ENCRYPT_MODE, secretKey)
// biometry prompt invocation
val prompt = BiometricPrompt(activity, executor, listener)
prompt.authenticate(info, CryptoObject(encryptCipher))
BUILD INFO
- Device type: Samsung S10e (SM-G970F)
- OS version: Android 9
- Biometric library version: 1.0.1
- Device security configuration: only one fingerprint added
STEPS TO REPRODUCE
[Be as specific as possible please]
1. Try to authenticate with biometry prompt on Samsung S10e (SM-G970F)
EXPECTED RESULTS
Biometry prompt is shown
OBSERVED RESULTS
Biometry prompt not shown
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE: 10/10