I'm trying to implement fingerpritn authentication in my flutter app using local_auth plugin. But it is throwing me Platform Exception Error:
"PlatformException(auth_in_progress, Authentication in progress, null)"
final LocalAuthentication _localAuth = LocalAuthentication();
bool authenticated = false;
try {
authenticated = await _localAuth.authenticateWithBiometrics(
localizedReason: 'Scan your fingerprint to authenticate',
useErrorDialogs: true,
stickyAuth: false
);
} on PlatformException
catch(e) {
print(e);
}
return authenticated; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With