Skip to content

feat: biometrics type#15

Closed
kierancrown wants to merge 10 commits intosmallcase:masterfrom
kierancrown:master
Closed

feat: biometrics type#15
kierancrown wants to merge 10 commits intosmallcase:masterfrom
kierancrown:master

Conversation

@kierancrown
Copy link
Copy Markdown

This change adds biometrics type. So you can differentiate between FaceID and TouchID on iOS and Fingerprint and Face unlock on Android.

Tested on iPhone 15 PM and Google Pixel 8

@kierancrown
Copy link
Copy Markdown
Author

@akul-smallcase Wondering if this can be merged in?

@zabojad
Copy link
Copy Markdown

zabojad commented Oct 24, 2024

@LonelyCpp ?

Comment on lines +105 to +107
if (pm.hasSystemFeature(PackageManager.FEATURE_FINGERPRINT)) {
promise.resolve("Fingerprint");
} else if (pm.hasSystemFeature(PackageManager.FEATURE_FACE)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can you add some references to docs explaining how this works?

does this handles cases where the system has both features but the user has only enabled one of them?

@LonelyCpp
Copy link
Copy Markdown
Member

LonelyCpp commented Nov 17, 2024

Hey @kierancrown, sorry for the delayed response here - I don't get much time to look at PRs here.

I've added a comment on the android implementation, would be great if you can answer

Comment thread package.json
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

question: did you mean to commit these changes?

@LonelyCpp LonelyCpp closed this Dec 12, 2025
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.

4 participants