Skip to content

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