-
Notifications
You must be signed in to change notification settings - Fork 58
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
Use v0.60.0 patch from jtreanor/react-native #1184
Conversation
ec586eb
to
d1d4b19
Compare
s.dependency 'React/RCTActionSheet', react_native_version | ||
s.dependency 'React/DevSupport', react_native_version | ||
s.dependency 'React-Core', react_native_version | ||
s.dependency 'React-RCTImage', react_native_version |
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.
Reducing these to only what we need means that the build will be leaner and hopefully faster. Transitive dependencies (such as yoga
) will still be resolved.
cd "node_modules/react-native" | ||
|
||
RN_PODSPECS=$(find * -type f -name "*.podspec" -not -path "third-party-podspecs/*" -print) |
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.
Now using find
to generate all the podspecs in react-native
. This means we have a lot more podspecs in the repo (hence the big diff).
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.
- Android demo app
- iOS demo app
- WPiOS (from Gutenberg: Compatibility with React Native 0.60.0 WordPress-iOS#12056)
- Running internal JS Bundle ✅
- Running metro from this branch ✅
- WPAndroid (Tested by @daniloercoli - Thank you! 🙏 )
Everything seems to work as expected.
Thank you so much @jtreanor. This has been a big one!
cc @marecar3 - With this we are fixing the integration of RN 0.60 on WPiOS. This should unblock the merge of |
This updates gutenberg-mobile to use a version of RN
v0.60.0
which is patched with my changes from facebook/react-native#25393. I have just cherry-picked my changes onto the releasev0.60.0
version so there are no other unexpected changes.I have updated the podspecs of our dependencies:
The alternative to the above changes would be to maintain our own copies of the podspecs in
third-party-podspecs
. You can exclude the podspecs from the diff by going here.To do: Patch the podspec ofThis is now done in a fork here: https://github.com/wordpress-mobile/react-native-safe-area/tree/rn-0.60.0-patchreact-native-safe-area
(its manually updated in this PR for now).To test:
Update release notes:
RELEASE-NOTES.txt
.