From 017c6b9bfa54124d116131f482355694760ffd07 Mon Sep 17 00:00:00 2001 From: YutaSugimura Date: Thu, 21 Jul 2022 12:16:04 +0900 Subject: [PATCH] feat: update to react-native@0.69.2 --- template/ios/Podfile | 10 ++++------ template/package.json | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/template/ios/Podfile b/template/ios/Podfile index 06a02f93..92194221 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -4,6 +4,8 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ platform :ios, '12.4' install! 'cocoapods', :deterministic_uuids => false +production = ENV["PRODUCTION"] == "1" + target 'HelloWorld' do config = use_native_modules! @@ -13,8 +15,10 @@ target 'HelloWorld' do use_react_native!( :path => config[:reactNativePath], # to enable hermes on iOS, change `false` to `true` and then install pods + :production => production, :hermes_enabled => flags[:hermes_enabled], :fabric_enabled => flags[:fabric_enabled], + :flipper_configuration => FlipperConfiguration.enabled, # An absolute path to your application root. :app_path => "#{Pod::Config.instance.installation_root}/.." ) @@ -24,12 +28,6 @@ target 'HelloWorld' do # Pods for testing end - # Enables Flipper. - # - # Note that if you have use_frameworks! enabled, Flipper will not work and - # you should disable the next line. - use_flipper!() - post_install do |installer| react_native_post_install(installer) __apply_Xcode_12_5_M1_post_install_workaround(installer) diff --git a/template/package.json b/template/package.json index 3ccd4767..c50ccfbf 100644 --- a/template/package.json +++ b/template/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "react": "18.0.0", - "react-native": "0.69.1" + "react-native": "0.69.2" }, "devDependencies": { "@babel/core": "^7.12.9",