Update react-native to @expensify/react-native@0.70.4-alpha.1#12209
Conversation
|
Super weird, the first time I tested this it worked, but now I am seeing the same failing tests. @roryabraham I'm not sure we can do the naming convention you mention here: #12177 (comment) It seems to confuse npm with a non-semver version.. |
|
Explanation for why this isn't working: npm/npm#8854 |
|
There's no CLI flag to allow preRelease builds unfortunately: npm/rfcs#397 |
|
We can work around this and allow preRelease versions using the
It does! 👍🏼 (We just have to remember to do this same dance whenever we upgrade RN again in the future) |
| ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| ENABLE_TESTABILITY = YES; | ||
| "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; | ||
| "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; |
There was a problem hiding this comment.
Can the entire line be removed instead?
There was a problem hiding this comment.
Maybe, but it's helpful to keep things as in-sync with the React Native example app as possible for the sake of using the Upgrade Helper: https://react-native-community.github.io/upgrade-helper/?from=0.70.1&to=0.70.4
| "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; | ||
| "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; |
|
Julesssss
left a comment
There was a problem hiding this comment.
LGTM. left one super minor comment
Julesssss
left a comment
There was a problem hiding this comment.
I meant to approve, not comment
|
@roryabraham looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
|
All the checks had passed... |
|
✋ 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 @roryabraham in version: 1.2.22-0 🚀
|
|
🚀 Deployed to production by @Julesssss in version: 1.2.22-3 🚀
|






Details
Updates react-native to our latest fork version in order to prepare for the Fabric upgrade.
Fixed Issues
$ #12177
Tests
QA Steps
PR Review Checklist
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android