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

🚑 Patch for showstopping ios popup issue #1071

Conversation

Abby-Wheelis
Copy link
Member

We discovered that some ordering of processes in onboarding is what was causing #1006, and are fixing it by altering the ordering back to the original. See more discussion on the issue.

Abby Wheelis added 2 commits October 18, 2023 12:33
in order to fix the bug, we're changing when we mark the consent in storage. Moving the call to after the user has agreed to both parts -- protocol AND permissions, prevents the early popup.

For more discussion see: e-mission/e-mission-docs#1006 (comment)
@Abby-Wheelis Abby-Wheelis changed the base branch from master to onboarding_routing_sept_2023 October 18, 2023 18:45
@Abby-Wheelis
Copy link
Member Author

I have implemented (I think) the changes Jack was talking about in this comment. I have confirmed that this patch works by uninstalling the devapp and going through onboarding. The popup only comes up when I click fix, as expected, and looking at log statements confirm that we're stepping through the stages as expected.

@Abby-Wheelis Abby-Wheelis marked this pull request as ready for review October 18, 2023 18:52
@Abby-Wheelis
Copy link
Member Author

I just went back through to check, and I am confident that it does resolve the issue. I'm attaching a video that shows the popup waiting until the appropriate time to launch, and also resolving the "not refreshing" issue, as the check does turn green as soon as the permission is fixed.

smallestFixedPopup.mov

Also including the log statements here, you can see how the different held states vary, and how consent is marked at the same time as login.

Screenshot 2023-10-18 at 4 18 16 PM

@Abby-Wheelis Abby-Wheelis mentioned this pull request Oct 18, 2023
@shankari shankari merged commit e68b4a8 into e-mission:onboarding_routing_sept_2023 Oct 19, 2023
4 checks passed
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