Skip to content

Commit

Permalink
Bump react-native to 0.71.3 (software-mansion#4064)
Browse files Browse the repository at this point in the history
## Summary

This PR bumps react-native in project root as well as Example and
FabricExample apps from 0.71.1 to 0.71.3.

Although `package.json` previously specified 0.71.1, the app template
was based on 0.71.0, so this PR also contains the changes between .0 and
.1 (see
https://react-native-community.github.io/upgrade-helper/?from=0.70.0&to=0.71.3).

In this PR, I also needed to update plugin tests snapshots because I
upgraded `@babel/*` packages in the project root in order to keep them
aligned with the RN app template. Fortunately, these are only whitespace
changes (empty lines removal).

## Test plan

Run Example and FabricExample apps both on Android and iOS.
  • Loading branch information
tomekzaw authored and fluiddot committed Jun 5, 2023
1 parent e81e431 commit e016983
Show file tree
Hide file tree
Showing 17 changed files with 2,324 additions and 2,036 deletions.
2 changes: 1 addition & 1 deletion Example/.node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
4 changes: 2 additions & 2 deletions Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ react {
// The root of your project, i.e. where "package.json" lives. Default is '..'
// root = file("../")
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
// reactNativeDir = file("../node-modules/react-native")
// reactNativeDir = file("../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen
// codegenDir = file("../node-modules/react-native-codegen")
// codegenDir = file("../node_modules/react-native-codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
// cliFile = file("../node_modules/react-native/cli.js")

Expand Down
9 changes: 9 additions & 0 deletions Example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ ENV['REANIMATED_EXAMPLE_APP_NAME'] = 'Example'
platform :ios, min_ios_version_supported
prepare_react_native_project!

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
# dependencies: {
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
Expand Down
Loading

0 comments on commit e016983

Please sign in to comment.