mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.: ios / watch
This commit is contained in:
@@ -18,6 +18,7 @@ class BioAuth {
|
||||
return false;
|
||||
}
|
||||
final biometrics = await _auth.getAvailableBiometrics();
|
||||
|
||||
/// [biometrics] on Android and Windows is returned with error
|
||||
/// Handle it specially
|
||||
if (isAndroid | isWindows) return biometrics.isNotEmpty;
|
||||
|
||||
Reference in New Issue
Block a user