Migrate React Native Example app to react-native 0.69 (#4265)
Summary: // allow-large-files Pull Request resolved: https://github.com/facebook/flipper/pull/4265 Related to https://github.com/facebook/flipper/issues/4240 Resolving https://github.com/facebook/flipper/issues/3859 led to breaking changes in react-native-flipper which made it incompatible with react-natvie < 0.69. In this diff we migrate our example app to react-native 0.69 and add a notice to our readme about the react-native 0.69+ requirement Reviewed By: lblasa Differential Revision: D40673740 fbshipit-source-id: 18f4742449d115be7a5100f2bc4d834dcebea80f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
65a45ba6ba
commit
13e06803c9
@@ -2,7 +2,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods'
|
||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||
source 'https://github.com/CocoaPods/Specs'
|
||||
|
||||
platform :ios, '11'
|
||||
platform :ios, '12.4'
|
||||
|
||||
# used for automatic bumping
|
||||
flipperkit_version = '0.171.1'
|
||||
@@ -11,6 +11,8 @@ target 'ReactNativeFlipperExample' do
|
||||
config = use_native_modules!
|
||||
use_react_native!(
|
||||
:path => config["reactNativePath"],
|
||||
# Versions are explicitly pinned to be able to forcefully test against the latest versions
|
||||
:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => flipperkit_version, 'Flipper-Folly' => '2.6.10', 'Flipper-DoubleConversion' => '3.2.0', 'Flipper-Glog' => '0.5.0.3', 'Flipper-PeerTalk' => '0.0.4', 'OpenSSL-Universal' => '1.1.1100' }),
|
||||
# to enable hermes on iOS, change `false` to `true` and then install pods
|
||||
:hermes_enabled => true
|
||||
)
|
||||
@@ -20,15 +22,6 @@ target 'ReactNativeFlipperExample' do
|
||||
# Pods for testing
|
||||
end
|
||||
|
||||
# Enables Flipper.
|
||||
#
|
||||
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
||||
# you should disable these next few lines.
|
||||
|
||||
# Versions are explicitly pinned to be able to forcefully test against the latest versions.
|
||||
# use_flipper!() should work as well and pick the React Native defaults
|
||||
use_flipper!({ 'Flipper' => flipperkit_version, 'Flipper-Folly' => '2.6.10', 'Flipper-DoubleConversion' => '3.2.0', 'Flipper-Glog' => '0.5.0.3', 'Flipper-PeerTalk' => '0.0.4', 'OpenSSL-Universal' => '1.1.1100' })
|
||||
|
||||
post_install do |installer|
|
||||
react_native_post_install(installer)
|
||||
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
||||
|
||||
Reference in New Issue
Block a user