-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: manual biometrics and background lock #201
Conversation
Signed-off-by: Jan <[email protected]>
// biome-ignore lint/correctness/useExhaustiveDependencies: canTryUnlockingUsingBiometrics not needed | ||
useEffect(() => { | ||
if (secureUnlock.state === 'locked' && secureUnlock.canTryUnlockingUsingBiometrics) { | ||
secureUnlock.tryUnlockingUsingBiometrics() | ||
} | ||
}, [secureUnlock]) | ||
}, []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem correct. What are you trying to do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, it prompts me for me biometrics right away, and if you cancel it prompts again until you reach 3.
Now it prompts once, if it fails or gets cancelled it stops, and you can prompt it again by pressing the biometrics button on the pinpad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm okay. I see. We should still pass secureUnlock.state
right?
Signed-off-by: Timo Glastra <[email protected]>
The biometric button didn't seem to work for me btw? Not sure why but pressing it didn't do anything |
Hmm ill keep an eye on it |
Yeah it really doesn't work on my end. The button does nothing |
No description provided.