Closed kennethj closed 3 years ago
@VladyslavBondarenko is it possible to already review the pr? This is something we need in our current application
@vanlooverenkoen you can ask assigned for the review person in the pr conversation
@VladyslavBondarenko there is nobody assigned yet.
@vanlooverenkoen sorry, ambiguously said, I meant @mehmetf in reviewers
@vanlooverenkoen You could use this fork. It was created as a stopgap until this could be reviewed and merged. https://pub.dev/packages/local_auth_device_credentials
Sadly on iOS the passcode as fallback is not shown for FaceID users. This is because the plugin sets
context.localizedFallbackTitle = @"";
hardcoded and is not configurable. The title should be configurable to show a customised title or disable it.
There is another problem: next to getAvailableBiometrics there should be a second method getAvailableAuthenticationMethods or similar. Because it should be possible to check if the user either enrolled any biometric method, or a code/pattern/what_so_ever. "isDeviceSupported" returns true even if the user hasn't enabled any authentication. If he then turns on authentication for my app he is locked out and has to know that he should set at least a device passcode to get in again.
Looks like this didn't get closed as fixed when the PR landed; closing.
@REKURDennis Please file new issues for follow-ups.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Allow local authentication for devices without biometrics.
Ideally, a method (
LocalAuthentication().authenticate()
) that would defer to the OS to determine the proper authentication type.iOS: https://developer.apple.com/documentation/localauthentication/lapolicy/lapolicydeviceownerauthentication?language=objc
Android: https://developer.android.com/training/sign-in/biometric-auth#biometric-or-lock-screen