authenticateWithBiometrics static method
- @Deprecated("Use `authenticate` with `biometricOnly: true` instead")
- required String localizedReason,
- bool useErrorDialogs = true,
- bool stickyAuth = false,
- AndroidAuthMessages androidAuthStrings = const AndroidAuthMessages(),
- IOSAuthMessages iOSAuthStrings = const IOSAuthMessages(),
- bool sensitiveTransaction = true,
The authenticateWithBiometrics
method has been deprecated.
Use authenticate
with biometricOnly: true
instead
Implementation
@Deprecated("Use `authenticate` with `biometricOnly: true` instead")
static Future<bool> authenticateWithBiometrics({
required String localizedReason,
bool useErrorDialogs = true,
bool stickyAuth = false,
AndroidAuthMessages androidAuthStrings = const AndroidAuthMessages(),
IOSAuthMessages iOSAuthStrings = const IOSAuthMessages(),
bool sensitiveTransaction = true,
}) =>
authenticate(
localizedReason: localizedReason,
useErrorDialogs: useErrorDialogs,
stickyAuth: stickyAuth,
androidAuthStrings: androidAuthStrings,
iOSAuthStrings: iOSAuthStrings,
sensitiveTransaction: sensitiveTransaction,
biometricOnly: true,
);