Fixed
Status Update
Comments
cu...@google.com <cu...@google.com>
ap...@google.com <ap...@google.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?
re...@infinum.com <re...@infinum.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
If this is a bug in the library, we would appreciate if you could attach:
BUILD INFO
STEPS TO REPRODUCE [Be as specific as possible please]
EXPECTED RESULTS
I expect available hardware for these devices because they do have a Fingerprint sensor and they do classify as BIOMETRIC_STRONG because if run Biometric authentication without any set authenticators the internal lib will set the authenticator to BIOMETRIC_STRONG since I have a crypto object initialised and everything works as expected. The method that is responsible for setting the authenticator to strong is
getConsolidatedAuthenticators(@NonNull BiometricPrompt.PromptInfo info, @Nullable BiometricPrompt.CryptoObject crypto)
inside the first else block:OBSERVED RESULTS
I get a BIOMETRIC_ERROR_HW_UNAVAILABLE inside the BiometricManager class due to the fingerprintManager being null:
the result does not make sense to me because I do have a device which have the appropriate strong classified HW based on the behaviour in the EXPECTED RESULTS section. The fingerprint implementation with the CryptoObject worked fine on 1.0.1 version of the library.
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 3/10)
10/10