-
Notifications
You must be signed in to change notification settings - Fork 151
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
fix: disable back action by gesture after accepting terms and conditions #1356
base: main
Are you sure you want to change the base?
fix: disable back action by gesture after accepting terms and conditions #1356
Conversation
Signed-off-by: fc-santos <[email protected]>
@fc-santos , can you elaborate a bit more on the problem. Is that on iOS, Android, both? is that on Bifold or is that on your own implementation of a wallet using bifold? It seems like getting stuck on a screen by going back seems the problem. |
Signed-off-by: fc-santos <[email protected]>
@cvarjao it's meant to fix this problem (occurs on both Android and iOS): cropped.mp4 |
Signed-off-by: fc-santos <[email protected]>
Signed-off-by: fc-santos <[email protected]>
Quality Gate passedIssues Measures |
I might be missing something, I don't think removing the ability to go back fix the problem, probably a workaround. It shouldn't get stuck as you are seeing. I think that is the problem that needs to be fixed |
@fc-santos adding to what Clecio said, I suspect it has to do with the checkbox no longer existing when you come back to the Terms screen. Not having it checked is probably preventing the user from continuing. Probably better to fix that underlying bug that just preventing back nav. Might be as simple as changing line 23 of
Edit: Or you could simply remove the checkbox. We don't use one in our injected version of the Terms screen. |
@bryce-mcmath I agree that we should do what you suggested, but at the same time do we want to enable the user to go back though? The user has already accepted the conditions, why are allowing it to be accepted again? |
@bryce-mcmath To answer your point about removing the checkbox, it's a legal requirement for us to have it. |
Summary of Changes
This PR fixes a bug where after accepting the Terms & Conditions the user is able to go back from the PINCreate Screen and then is stuck on Terms & Conditions Screen. Only killing app gets the user back on the PINCreate screen.
Screenshots, videos, or gifs
N/A
Breaking change guide
N/A
Related Issues
N/A
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 🤓