Skip to content

Clarify getAvailableBiometrics documentation#11851

Draft
tranthequang wants to merge 3 commits into
flutter:mainfrom
tranthequang:fix/local-auth-biometrics-doc
Draft

Clarify getAvailableBiometrics documentation#11851
tranthequang wants to merge 3 commits into
flutter:mainfrom
tranthequang:fix/local-auth-biometrics-doc

Conversation

@tranthequang
Copy link
Copy Markdown

Summary

  • Clarifies that getAvailableBiometrics returns biometrics available for the app to use.
  • Notes that this may not include all enrolled biometrics, such as when iOS permissions are denied.

Fixes flutter/flutter#187512

Tests

  • dart format lib/src/local_auth.dart
  • flutter analyze
  • flutter test

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jun 5, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@tranthequang tranthequang marked this pull request as ready for review June 5, 2026 18:32
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation for the getAvailableBiometrics method in local_auth.dart to clarify that it returns biometrics available for the app to use, which may not include all enrolled biometrics if permissions are not granted. There are no review comments, and no additional feedback is provided.

@stuartmorgan-g
Copy link
Copy Markdown
Collaborator

Thanks for the contribution!

In the future, please do not delete the checklist that is in the PR template; it is there for a reason. This PR is missing required elements described in the checklist, which need to be addressed before it moves forward with review.

I am marking the PR as a Draft. Please re-add and complete the checklist, updating the PR as appropriate, and when that’s complete please feel free to mark the PR as ready for review.

@stuartmorgan-g stuartmorgan-g marked this pull request as draft June 6, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[local_auth] Fix documentation for getAvailableBiometrics

2 participants