Closed SylvainLosey closed 6 months ago
Seconded! We're using 5.0.0+1
and calling the canAuthenticate function as so, but we're getting back a success when it should be a failure.
Future<bool> isDeviceEligible() =>
storage.canAuthenticate().then((value) => value == CanAuthenticateResponse.success);
The emulator we're using is an iPhone 15 Pro with Face ID capabilities, but these have not been set up. The device is not enrolled, so we're expecting canAuthenticate to return errorNoBiometricEnrolled
.
@hpoul is this plugin still being maintained? This issue seems critical, as it defeats the purpose of the plugin entirely if biometrics do not prompt but we allow access to the storage.
Agreed. For information I fixed the issue for our internal use, I will try to find the time to clean it up and raise a PR but it would be good to know if someone is still available to get it reviewed and merged.
Agreed. For information I fixed the issue for our internal use, I will try to find the time to clean it up and raise a PR but it would be good to know if someone is still available to get it reviewed and merged.
i recently opened another issue, but i believe it's the same (or at least similar) issue: https://github.com/authpass/biometric_storage/issues/114
what exactly did you do to fix the issue for you?
Hello,
I might be misunderstanding something, but it seems that the latest dev version has an oversight where canAuthenticate would return successfully whenever the device has no credentials enrolled. This does not seem like the expected behavior, am I missing something ?
Thanks a lot for the great package, Sylvain