-
Notifications
You must be signed in to change notification settings - Fork 152
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
chore: improve biometrics permission prompting. #1301
chore: improve biometrics permission prompting. #1301
Conversation
09b373d
to
650edc3
Compare
@@ -153,9 +238,9 @@ const UseBiometry: React.FC = () => { | |||
<ToggleButton | |||
testID={testIdWithKey("ToggleBiometrics")} | |||
isEnabled={biometryEnabled} | |||
isAvailable={biometryAvailable} | |||
isAvailable={true} |
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.
is it ok that these are hard coded values? the diff shows biometryAvailable
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.
Yes, it was changed so that the biometric switch is now always enabled for interaction, it will shows a popup with messages when biometryAvailable == false; instead of being disabled from interacting entirely before this change.
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.
Have you also tested these changes when altering biometry setting from the settings menu (after user has logged in)? ie. the case where usage is UseBiometryUsage.ToggleOnOff
?
Yes, I did test that screen, too |
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.
Just a note for next time, for larger UI work like this, it's helpful to add a gif or video to the PR showing what the changes look like. You can use quicktime on your mac and/or ezgif for this
…cs switch during onboarding, add new strings. Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
…iometric is unavailable. Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
2f9ef84
to
f4eb26c
Compare
Quality Gate passedIssues Measures |
Summary of Changes
Related Issues
bcgov/bc-wallet-mobile#2111
#999
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this);If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓
PR template adapted from the Python attrs project.