[No QA] chore: upgrade react-native-screens to 4.25.0-beta.1#89199
Open
roryabraham wants to merge 7 commits intomainfrom
Open
[No QA] chore: upgrade react-native-screens to 4.25.0-beta.1#89199roryabraham wants to merge 7 commits intomainfrom
roryabraham wants to merge 7 commits intomainfrom
Conversation
The upstream fix for lifecycle events in fragment host (PR #3854) was merged into react-native-screens and is included in 4.25.0-beta.1. Remove the now-unnecessary patch. Made-with: Cursor
Made-with: Cursor
📲 Install BuildsAndroid
|
react-native-screens@4.25.0-beta.1 introduced SafeAreaView with only a default export in the .web variant, causing a webpack ModuleDependencyWarning during Storybook builds since the index re-exports it as a named export. Made-with: Cursor
npm strict mode excludes pre-release versions from satisfying semver ranges like >=4.0.0, so npm ci was rejecting 4.25.0-beta.1 as a peer dep satisfier. Using npm overrides pins the version explicitly, bypassing ERESOLVE, without changing the global resolution algorithm like legacy-peer-deps=true would. Made-with: Cursor
1 task
Made-with: Cursor
Contributor
|
🚧 @roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
Contributor
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
Contributor
Author
|
Requested AdHoc QA of |
|
Regression completed |
|
@arosiclair 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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Upgrades
react-native-screensfrom4.15.4to4.25.0-beta.1.The patch
react-native-screens+4.15.4+001+fix-lifecycle-events-in-fragment-host.patchwas previously applied to fix lifecycle events being silently dropped when React Native is hosted inside aReactNativeFragment(HybridApp). This fix was merged upstream in software-mansion/react-native-screens#3854 and is included in4.25.0-beta.1, so the patch is no longer needed. I had created a reminder to upgrade this dependency after that was released, so here it is.Also adds
legacy-peer-deps=trueto.npmrcsince npm 7+'s strict semver resolution excludes pre-release versions from peer dependency ranges like>=4.0.0.Fixed Issues
$
PROPOSAL:
Tests
Offline tests
N/A — dependency upgrade only.
QA Steps
N/A — this is a dependency upgrade with no user-facing behavior changes.
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari