Update react-native to 0.60.5 #6
Open
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.
This updates
react-nativeto0.60.5including all project support files.Noteworthy are:
Autolinking: It is no longer necessary to manually modify Android or iOS project files in order to include the library as a dependency. iOS now uses CocoaPods (one manual
pod installstep in theiosfolder is required for iOS).With this new React Native version and the updated haste module, the modification to
metro.config.jsno longer works. It can now remain in its unmodified form from the template. Instead, a new scriptscripts/examples_postinstall.jsis called in thepostinstallhook of package.json to resolve the haste duplicate dependency problems. This script was copied from https://github.com/brodybits/create-react-native-module.For more information see the official announcement for React Native 0.60: https://facebook.github.io/react-native/blog/2019/07/03/version-60
Successfully verified and tested on:
This was done both on command line (
react-native run-android/react-native run-ios, as well as from Android Studio and Xcode.Closes #1
Closes #2
Closes #3
Closes #4
Closes #5