[expo-local-authentication] Specify authentication type to hasHardwareAsync and isEnrolledAsync
Tai Klein
supportedAuthenticationTypesAsync returns an array of types including FINGERPRINT, FACE, IRIS.
However, hasHardwareAsync and isEnrolledAsync does not take an argument to look for a specific type.
So for a Galaxy S10 you can have only FINGERPRINT ([1]) respond from supportedAuthenticationTypesAsync... but have have an enrolled FACE and not have an enrolled FINGERPRINT leading to buggy behavior. (see https://github.com/expo/expo/issues/7838#issuecomment-615486946 as to why this might happen)
We could solve this by allowing hasHardwareAsync and isEnrolledAsync to take an argument that is the response from supportedAuthenticationTypesAsync
J
JD
Along with type of authentication, I would love to specify strong or weak biometrics for Android. Ran into an issue from this solution: https://github.com/expo/expo/issues/17804
Tai Klein
Logged an issue here: https://github.com/expo/expo/issues/9500#issuecomment-666500408