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

feat: manual biometrics and background lock #201

Merged
merged 9 commits into from
Nov 5, 2024
Merged

Conversation

janrtvld
Copy link
Contributor

@janrtvld janrtvld commented Nov 4, 2024

No description provided.

Comment on lines 33 to 38
// biome-ignore lint/correctness/useExhaustiveDependencies: canTryUnlockingUsingBiometrics not needed
useEffect(() => {
if (secureUnlock.state === 'locked' && secureUnlock.canTryUnlockingUsingBiometrics) {
secureUnlock.tryUnlockingUsingBiometrics()
}
}, [secureUnlock])
}, [])
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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?

@TimoGlastra
Copy link
Member

The biometric button didn't seem to work for me btw? Not sure why but pressing it didn't do anything

@TimoGlastra TimoGlastra merged commit a5f3cc5 into main Nov 5, 2024
1 check passed
@TimoGlastra TimoGlastra deleted the feat/wallet-fixes branch November 5, 2024 18:02
@janrtvld
Copy link
Contributor Author

janrtvld commented Nov 7, 2024

Hmm ill keep an eye on it

@TimoGlastra
Copy link
Member

Yeah it really doesn't work on my end. The button does nothing

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