fix app crashes intermittently when switching to classic view on ios#91828
Conversation
…itional guard for status bar
|
@codex review |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
Codex Review: Didn't find any major issues. Bravo. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@blimpich can I get builds triggered? 😁 |
|
triggered the adhoc build, feel free to ping me in slack if it doesn't work and needs to be re-run: https://github.com/Expensify/App/actions/runs/26527071468 |
|
🚧 @blimpich has triggered a test Expensify/App build. You can view the workflow run here. |
Explanation of Change
This PR fixes the sequencing in
closeReactNativeAppNow we merge
closingReactNativeAppfirst, await it, then runclearPreloadedRoutes()- wrapped inrequestAnimationFrameand close react native app. Also added additional guard forupdateStatusBarStylewhere a navigation listener may still fire before re-render.Fixed Issues
$ #90135
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as Tests.
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))npm run compress-svg)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
iOS: Native