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