fix: loading spinner displayed and user stuck after signin#59511
Conversation
|
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@nkdengineer I'm encountering a crash on Desktop—could you check if it's reproducible on your end too? Here’s what I did:
Let me know if you’re able to repro it as well! desktop-crash.mov |
|
@nkdengineer how is this looking? |
|
Will give an update today. |
|
@jayeshmangwani This bug will be fixed here. |
|
@nkdengineer Are you sure that issue #59510 will resolve this one as well? Right now, there doesn’t seem to be any parentheses in the link when I am testing |
|
@nkdengineer First, can you confirm if you're experiencing a crash? For me, the issue only happens occasionally — after testing 5–6 times, it crashes once. |
@jayeshmangwani The crahes log is the same and seem like our hard code token contains some other characters invalid because we copied whole |
|
@nkdengineer crash also occurs if encryptedToken isn’t set. |
Yes, I also see this bug sometimes while testing this PR. |
Okay, cool — if we're sure that this crash will be resolved by the issue mentioned above, and since you're assigned to it, we can move forward with this PR. What do you think, @mountiny ? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb.movweb-2.movweb.movMacOS: Desktopdesktop.mov |
|
@mountiny, we can go ahead with this PR — crash #59511 (comment) will be addressed in the linked issue #59510. |
|
@jayeshmangwani so the crash is already in main? |
|
@mountiny Yes, that’s correct — the crash is already happening on the main. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.25-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.25-4 🚀
|

Explanation of Change
fix: loading spinner displayed and user stuck after signin
Fixed Issues
$ #59409
PROPOSAL: #59409 (comment)
Tests
Precondition:
Offline tests
None
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
None
Android: mWeb Chrome
Screen.Recording.2025-04-03.at.16.34.23.mov
iOS: Native
None
iOS: mWeb Safari
Screen.Recording.2025-04-03.at.16.36.19.mov
MacOS: Chrome / Safari
Screen.Recording.2025-04-03.at.16.31.45.mov
MacOS: Desktop
Screen.Recording.2025-04-03.at.16.37.22.mov