-
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
Update App to React Native 0.72 version #18507
Merged
luacmartins
merged 55 commits into
Expensify:main
from
fabioh8010:feature/rn-update-0.72
Aug 2, 2023
Merged
Changes from 4 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
fb839b2
Initial changes to use Expensify's 0.72.0-rc.1-alpha.0 RN version
fabioh8010 31a5993
Fix metro.config.js to use new config loading setup
fabioh8010 aadce15
Use personal RN release temporally
fabioh8010 1853e3a
Create temporary patches for @onfido/react-native-sdk and lottie-reac…
fabioh8010 e317397
Update react-native-reanimated to 3.1.0 to support RN 0.72
fabioh8010 dc090e4
Create temporary patch for react-native
fabioh8010 b7951d6
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 cc82588
Update react-native-reanimated to nightly build in order to fix iOS c…
fabioh8010 00eb45d
Update lottie-react-native and remove patch
fabioh8010 94fffc7
Update Gemfile.lock and Podfile.lock with correct Cocoapods version
fabioh8010 4f6775d
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 0fb2aa0
Fix react-native-reanimated patch to only include react-navigation ch…
fabioh8010 675801f
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 b45c2f6
Use a new Expensify RN release to fix a Android build problem
fabioh8010 61c395b
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 ff1c818
Update RN release with different version
fabioh8010 4bbf36e
Format files
fabioh8010 8c41f3c
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 ef3a33b
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 7c09b4e
Update app to use RN 0.72.0-rc.6
fabioh8010 20092ea
Upgrade RN to 0.62.0 and bump react-native-gesture-handler, react-nat…
fabioh8010 84196ee
Fix issue with Metro config
fabioh8010 6026a60
Create patch-package for @oguzhnatly/react-native-image-manipulator l…
fabioh8010 239def1
Remove unused libraries
fabioh8010 622e9f7
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 f18b635
Fix postInstall.sh script to install desktop modules when we are not …
fabioh8010 3248140
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 e1cda52
Remove react-native-reanimated patch
fabioh8010 50245aa
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 e7c0c61
Re-apply patch to RN 0.72.0
fabioh8010 5436537
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 0c3acdf
Upgrade RN to 0.72.1
fabioh8010 33bdacd
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 25696cd
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 4d42218
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 6a9fc44
Remove workaround as it's not necessary anymore in RN 0.72.0
fabioh8010 5005579
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 dae067f
Remove unnecessary "alternateTextMaxLines" usage from PriorityModePage
fabioh8010 3e75ba2
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 3829399
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 ea2ffb2
Enable Android building from source
fabioh8010 952cad4
Update patch-package to canary and apply two RN patches
fabioh8010 7b2292e
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 7b8b26f
Add Jest mock to prevent errors related to NumberOfLines PR
fabioh8010 058809d
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 f10fd80
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 12f60b4
Update "NumberOfLines" patch to include newer changes
fabioh8010 2dc0e8c
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 043f3b7
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 8cc097b
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 4881cd4
Update NumberOfLines patch file
fabioh8010 7d40e26
Add workaround for NumberOfLines patch file to fix issues with Text c…
fabioh8010 2b07cf5
Merge branch 'main' into feature/rn-update-0.72
fabioh8010 6c8e524
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 72a3520
Merge remote-tracking branch 'origin/main' into feature/rn-update-0.72
fabioh8010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-all.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
I think it will be better to set it as 3.x
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.
I agree with @parasharrajat that we should get on Ruby 3 if possible. However, I suggest that we lock to a specific version of Ruby and cocoapods. The
Podfile.lock
may have a diff if you dopod install
from a different version of cocoapods. I think that also broke pod caching in our CI, so we should lock that down to a specific version.Also, why remove the
.ruby-version
file?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.
@roryabraham @parasharrajat It was removed in the last version and now the ruby version is specified in
Gemfile
file, according to the upgrade helper tool.These two commits also give us some insight about what those decisions:
Yes, I agree as well (as long Ruby 3 works, needs testing). In fact, a common problem that we have here is that some contributors do
pod install
normally and some usebundle
to execute this task, which sometimes result in diffs inPodfile.lock
.Coming from this issue, I agree we should change the instructions to tell contributors to use only
bundle
to avoid these problems.