We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0346a5d commit 8bed63eCopy full SHA for 8bed63e
1 file changed
packages/local_auth/local_auth/lib/src/local_auth.dart
@@ -88,7 +88,13 @@ class LocalAuthentication {
88
/// fail over to device credentials.
89
Future<bool> isDeviceSupported() async => LocalAuthPlatform.instance.isDeviceSupported();
90
91
- /// Returns a list of enrolled biometrics.
+ /// Returns a list of the biometrics that the app can currently use for
92
+ /// authentication.
93
+ ///
94
+ /// Note that this may not include all biometrics enrolled on the device.
95
+ /// For example, on iOS, biometrics may be enrolled on the device but
96
+ /// remain unavailable to the app if the user has not granted the required
97
+ /// permissions to use them.
98
Future<List<BiometricType>> getAvailableBiometrics() =>
99
LocalAuthPlatform.instance.getEnrolledBiometrics();
100
}
0 commit comments