-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Clear storage immediately on sign out #4614
Clear storage immediately on sign out #4614
Conversation
Waiting for `set` to complete gives enough time for other connections (triggered by the authToken change) to be initiated with cached data This causes a bug where the SignIn component does not have correct state
I'm testing the rest of the platforms (iOS still building...) |
|
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.
Looks good. @francoisl please review and merge once testing has been done in all platforms. Then please let QA know they can retest in the issue 🙏
Tested on all platform and added videos in the description. |
…storage-fix Clear storage immediately on sign out (cherry picked from commit 3f72e03)
🚀 Cherry-picked to staging by @francoisl in version: 1.0.85-2 🚀
|
This has been deployed to production and is now subject to a 7-day regression period. |
🚀 Deployed to staging by @francoisl in version: 1.0.85-10 🚀
|
This has been deployed to production and is now subject to a 7-day regression period. |
🚀 Deployed to production by @roryabraham in version: 1.0.86-11 🚀
|
This has been deployed to production and is now subject to a 7-day regression period. |
cc @iwiznia @francoisl
Details
Waiting for
set
to complete gives enough time for other connections (triggered byauthToken
change) to be initiated with cached dataThis causes a bug where the SignIn component does not have correct state
More details are available in the linked issue
Fixed Issues
$ #4595
Tests
You should be on the initial Login screen, where you need to input your email
QA Steps
Same as above
Tested On
Screenshots
Web
New.Expensify.-.Google.Chrome.2021-08-12.21-49-38.mp4
Mobile Web
Android.Emulator.-.Pixel_2_API_29_5554.2021-08-12.21-51-05.mp4
Desktop
iOS
Screen.Recording.2021-08-12.at.21.57.39.mov
Android
Android.Emulator.-.Pixel_2_API_29_5554.2021-08-12.21-07-17.mp4