Skip to content

Support optional biometrics on iOS platform. - #6

Closed
tmpfs wants to merge 1 commit into
eaceto:mainfrom
saveoursecrets:ios-no-biometrics
Closed

tmpfs wants to merge 1 commit into
eaceto:mainfrom
saveoursecrets:ios-no-biometrics

Conversation

@tmpfs

@tmpfs tmpfs commented Oct 28, 2023

Copy link
Copy Markdown

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.

@eaceto eaceto left a comment

Copy link
Copy Markdown
Owner

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

@eaceto

eaceto commented Sep 22, 2026

Copy link
Copy Markdown
Owner

API changes have been made in v2.0.0 which are also compatible across other platforms.

@eaceto eaceto closed this Sep 22, 2026
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