-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bump up Expo SDK to 50.0.3 #35249
Bump up Expo SDK to 50.0.3 #35249
Conversation
This comment has been minimized.
This comment has been minimized.
I was running into expo/expo#25905 when running diff --git a/ios/Podfile b/ios/Podfile
index aa87c3e295..1ff3f4de76 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -71,6 +71,11 @@ target 'NewExpensify' do
rescue => e
Pod::UI.warn e
end
+ begin
+ expo_patch_react_imports!(installer)
+ rescue => e
+ Pod::UI.warn e
+ end
end
permissions_path = '../node_modules/react-native-permissions/ios'
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index 4cdf61554a..d47604a649 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -32,7 +32,7 @@ PODS:
- React-Core
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- - Expo (50.0.0-preview.7):
+ - Expo (50.0.3):
- ExpoModulesCore
- ExpoImage (1.10.1):
- ExpoModulesCore
@@ -40,7 +40,7 @@ PODS:
- SDWebImageAVIFCoder (~> 0.10.1)
- SDWebImageSVGCoder (~> 1.7.0)
- SDWebImageWebPCoder (~> 0.13.0)
- - ExpoModulesCore (1.11.4):
+ - ExpoModulesCore (1.11.8):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
@@ -1176,6 +1176,8 @@ PODS:
- React-Core
- react-native-key-command (1.0.6):
- React-Core
+ - react-native-launch-arguments (4.0.2):
+ - React
- react-native-netinfo (11.2.1):
- React-Core
- react-native-pager-view (6.2.2):
@@ -1423,7 +1425,7 @@ PODS:
- React-Core
- RNReactNativeHapticFeedback (1.14.0):
- React-Core
- - RNReanimated (3.6.1):
+ - RNReanimated (3.6.2):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
@@ -1522,6 +1524,7 @@ DEPENDENCIES:
- "react-native-image-manipulator (from `../node_modules/@oguzhnatly/react-native-image-manipulator`)"
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-key-command (from `../node_modules/react-native-key-command`)
+ - react-native-launch-arguments (from `../node_modules/react-native-launch-arguments`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-pager-view (from `../node_modules/react-native-pager-view`)
- react-native-pdf (from `../node_modules/react-native-pdf`)
@@ -1715,6 +1718,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-image-picker"
react-native-key-command:
:path: "../node_modules/react-native-key-command"
+ react-native-launch-arguments:
+ :path: "../node_modules/react-native-launch-arguments"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-pager-view:
@@ -1831,9 +1836,9 @@ SPEC CHECKSUMS:
BVLinearGradient: 421743791a59d259aec53f4c58793aad031da2ca
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
- Expo: cd2dc043dd1cc3d9e8e4e035fb9a41b421e8f13f
+ Expo: 88b4aa68115bbb57c1a07cc30161c2352ab2fc25
ExpoImage: 1cdaa65a6a70bb01067e21ad1347ff2d973885f5
- ExpoModulesCore: 01c0abfa6cd9c41c4bd76d8a1a079e6b591db10f
+ ExpoModulesCore: 96d1751929ad10622773bb729ab28a8423f0dd0c
FBLazyVector: fbc4957d9aa695250b55d879c1d86f79d7e69ab4
FBReactNativeSpec: 86de768f89901ef6ed3207cd686362189d64ac88
Firebase: 629510f1a9ddb235f3a7c5c8ceb23ba887f0f814
@@ -1909,6 +1914,7 @@ SPEC CHECKSUMS:
react-native-image-manipulator: c48f64221cfcd46e9eec53619c4c0374f3328a56
react-native-image-picker: c33d4e79f0a14a2b66e5065e14946ae63749660b
react-native-key-command: 5af6ee30ff4932f78da6a2109017549042932aa5
+ react-native-launch-arguments: 5f41e0abf88a15e3c5309b8875d6fd5ac43df49d
react-native-netinfo: 8a7fd3f7130ef4ad2fb4276d5c9f8d3f28d2df3d
react-native-pager-view: 02a5c4962530f7efc10dd51ee9cdabeff5e6c631
react-native-pdf: b4ca3d37a9a86d9165287741c8b2ef4d8940c00e
@@ -1957,7 +1963,7 @@ SPEC CHECKSUMS:
rnmapbox-maps: 6f638ec002aa6e906a6f766d69cd45f968d98e64
RNPermissions: 9b086c8f05b2e2faa587fdc31f4c5ab4509728aa
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
- RNReanimated: 57f436e7aa3d277fbfed05e003230b43428157c0
+ RNReanimated: 5589be82dc26b3f94738eb7c6b1f942787532b25
RNScreens: b582cb834dc4133307562e930e8fa914b8c04ef2
RNSVG: 255767813dac22db1ec2062c8b7e7b856d4e5ae6
SDWebImage: 750adf017a315a280c60fde706ab1e552a3ae4e9
@@ -1969,6 +1975,6 @@ SPEC CHECKSUMS:
VisionCamera: 7d13aae043ffb38b224a0f725d1e23ca9c190fe7
Yoga: 13c8ef87792450193e117976337b8527b49e8c03
-PODFILE CHECKSUM: 0ccbb4f2406893c6e9f266dc1e7470dcd72885d2
+PODFILE CHECKSUM: 0a251987d71151b196465eecf6a04a9444790763
-COCOAPODS: 1.13.0
+COCOAPODS: 1.14.3 |
@francoisl fair point I forget to commit |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
I can't build Android locally (though I think my whole dev environment is kind of broken) so I'm trying to use an ad-hoc build, but it's failing with:
iOS is also failing, logs can be found here: https://github.com/Expensify/App/actions/runs/7701854602 @c3024 are you able to build on Android and iOS locally? |
Ok, I will check the problem and I will probably need to update the CI workflow. I'll reach @mountiny to run the build to test if my fixes work, because he's in same timezone and we won't waste time waiting to sync. |
Sounds good, thanks. I'll see if I can find anything to fix it today as well. Also, feel free to ask any engineer to start an ad-hoc build for you in Slack if Vit isn't available (although, he seems to be online almost 24 hours a day 😄) |
😶🌫️😶🌫️😶🌫️ |
…o-50.0.3 # Conflicts: # package-lock.json # package.json
Android build worked for me bumpExpo.mp4 |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
…o-50.0.3 # Conflicts: # package-lock.json
@c3024 I've merged latest |
Builds well on iOS 👍 Screen.Recording.2024-01-30.at.7.23.16.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativebumpExpoAndroid.mp4iOS: NativebumpExpoiOS.mp4MacOS: Chrome / SafaribumpExpoChrome.mov |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
It seems there was a problem with GitHub actions runner, because the iOS build just timed out without any error. |
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.
Working well on all platforms. 🚀
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.33-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to staging by https://github.com/francoisl in version: 1.4.34-0 🚀
|
🚀 Deployed to staging by https://github.com/francoisl in version: 1.4.34-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.34-1 🚀
|
@@ -99,7 +100,7 @@ | |||
"dom-serializer": "^0.2.2", | |||
"domhandler": "^4.3.0", | |||
"expensify-common": "git+ssh://[email protected]/Expensify/expensify-common.git#4a61536649cbfe49236a35bc7542b5dfd0767e4a", | |||
"expo": "^50.0.0-preview.7", | |||
"expo": "^50.0.3", | |||
"expo-image": "1.10.1", |
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.
Why this was not bumped in this PR?
Details
We had to bump up Expo SDK, because in latest version it fixes autolinking bug expo/expo#26497 which is a blocker of #30829. The reason I'm updating it in a separate PR is that it will be easier to cherrypick the change to Fabric Migration PR #13767.
Fixed Issues
Needed for #20471
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop