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

Support optional biometrics on iOS platform. #6

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

Conversation

tmpfs
Copy link

@tmpfs tmpfs commented Oct 28, 2023

So that user's without biometrics enrolled can authenticate using a PIN.

Adds the setBiometricsRequired() iOS specific-method, users can call plugin.setBiometricsRequired(false) to override the default behavior (biometrics required) and support PIN authentication on iOS.

So that user's without biometrics enrolled can authenticate using a PIN.
Copy link
Owner

@eaceto eaceto left a comment

Choose a reason for hiding this comment

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

I believe the idea is good, but the implementation is very iOS specific. I think the correct approach will be to define an authentication method type across all implementations. Let me thinks and draft an approach and I will send that PR to you so we can discuss around it.
Thanks very much

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.

2 participants