The previous implementation of the biometrics availability check was inaccurate. It returned available = false even when the device supported biometrics, but the user had not enrolled their fingerprint or face ID. This change returns available = true and the error BIOMETRIC_ERROR_NONE_ENROLLED when the device supports biometrics, but the user has not enrolled their fingerprint or face ID. This allows this library to reliably determine biometrics availability, avoiding the need for external alternatives.
Hi everyone,
The previous implementation of the biometrics availability check was inaccurate. It returned available = false even when the device supported biometrics, but the user had not enrolled their fingerprint or face ID. This change returns available = true and the error BIOMETRIC_ERROR_NONE_ENROLLED when the device supports biometrics, but the user has not enrolled their fingerprint or face ID. This allows this library to reliably determine biometrics availability, avoiding the need for external alternatives.