From 32efe717747e0959aaacc90e190a89b5f6537cc1 Mon Sep 17 00:00:00 2001 From: Shah Fahad <49402500+fahaddoc@users.noreply.github.com> Date: Thu, 4 Jun 2026 12:27:58 +0500 Subject: [PATCH 1/4] [local_auth] Clarify getAvailableBiometrics documentation --- packages/local_auth/local_auth/lib/src/local_auth.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/local_auth/local_auth/lib/src/local_auth.dart b/packages/local_auth/local_auth/lib/src/local_auth.dart index ba641e7d2141..19143ecf988d 100644 --- a/packages/local_auth/local_auth/lib/src/local_auth.dart +++ b/packages/local_auth/local_auth/lib/src/local_auth.dart @@ -88,7 +88,14 @@ class LocalAuthentication { /// fail over to device credentials. Future isDeviceSupported() async => LocalAuthPlatform.instance.isDeviceSupported(); - /// Returns a list of enrolled biometrics. + /// Returns a list of the biometric types that are available for the app to + /// use. + /// + /// This is not necessarily the same as the full set of biometrics enrolled on + /// the device; a biometric type can be enrolled but still be unavailable to + /// the app. For example, on iOS the returned list will not include a biometric + /// type if the user has denied the app permission to use it, even when that + /// biometric is enrolled on the device. Future> getAvailableBiometrics() => LocalAuthPlatform.instance.getEnrolledBiometrics(); } From 5bd96c5fa69cbf9fe7503efa6277cfb490644d81 Mon Sep 17 00:00:00 2001 From: Shah Fahad <49402500+fahaddoc@users.noreply.github.com> Date: Thu, 4 Jun 2026 12:28:00 +0500 Subject: [PATCH 2/4] [local_auth] Add CHANGELOG entry for getAvailableBiometrics doc clarification --- packages/local_auth/local_auth/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/local_auth/local_auth/CHANGELOG.md b/packages/local_auth/local_auth/CHANGELOG.md index 71ca732c88a5..b0f37f4040db 100644 --- a/packages/local_auth/local_auth/CHANGELOG.md +++ b/packages/local_auth/local_auth/CHANGELOG.md @@ -1,6 +1,9 @@ ## NEXT * Updates minimum supported SDK version to Flutter 3.38/Dart 3.10. +* Clarifies the `getAvailableBiometrics` documentation to explain that it + returns the biometrics available for the app to use, which may not include all + biometrics enrolled on the device. ## 3.0.1 From ef1ad3fe550a822e8694959ed6c00e25b90b5025 Mon Sep 17 00:00:00 2001 From: Shah Fahad <49402500+fahaddoc@users.noreply.github.com> Date: Thu, 4 Jun 2026 18:45:32 +0500 Subject: [PATCH 3/4] [local_auth] Bump version to 3.0.2 for doc change --- packages/local_auth/local_auth/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/local_auth/local_auth/pubspec.yaml b/packages/local_auth/local_auth/pubspec.yaml index 39133f332c04..bf35d018e959 100644 --- a/packages/local_auth/local_auth/pubspec.yaml +++ b/packages/local_auth/local_auth/pubspec.yaml @@ -2,7 +2,7 @@ name: local_auth description: Flutter plugin to allow local authentication via biometrics, passcode, pin, or pattern. repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 -version: 3.0.1 +version: 3.0.2 environment: sdk: ^3.10.0 From 682d3a98f063a9f6de8b3f145f7dc9af5c10b0b8 Mon Sep 17 00:00:00 2001 From: Shah Fahad <49402500+fahaddoc@users.noreply.github.com> Date: Thu, 4 Jun 2026 18:45:34 +0500 Subject: [PATCH 4/4] [local_auth] Roll NEXT into 3.0.2 release --- packages/local_auth/local_auth/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/local_auth/local_auth/CHANGELOG.md b/packages/local_auth/local_auth/CHANGELOG.md index b0f37f4040db..7ea1262720db 100644 --- a/packages/local_auth/local_auth/CHANGELOG.md +++ b/packages/local_auth/local_auth/CHANGELOG.md @@ -1,4 +1,4 @@ -## NEXT +## 3.0.2 * Updates minimum supported SDK version to Flutter 3.38/Dart 3.10. * Clarifies the `getAvailableBiometrics` documentation to explain that it