Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unneeded confirmation button when using passive biometrics such as face unlock #174

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

victor-marino
Copy link

Fixes #162.

As explained in the Android docs, low-risk actions (such as logging into an app) should not require an explicit action by the user when using a passive biometric authentication method, such as the secure face unlock used by newer Pixel phones. This is only meant for high-risk operations such as purchases.

Unfortunately, the Biometrics API defaults to true for this, which makes the experience unnecessarily cumbersome. To fix it, we just need to pass the .setConfirmationRequired(false) flag to the biometric prompt builder, which will make the authentication experience much smoother, just like it is on iPhones.

Submitting this super simple PR in hopes of getting this moving, as I see the issue has remained unaddressed for some time now ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Android face unlock - auto confirm and avoid "Press to Continue"
1 participant