-
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
Upgrade RN to 0.62.2 #1823
Upgrade RN to 0.62.2 #1823
Changes from all commits
173f673
d741de3
fc42c1b
8745d31
3dced93
c541425
0a72c27
930c41e
b29a3fd
948b224
bbc78a2
c7f42d9
c9dc002
81ac9a1
8425799
f61628b
1393362
c01c3db
c30858b
ca1786a
8a3cd45
585849d
eaa50b3
e030e54
72195a2
9a3b4aa
9d3b11d
1baaa27
7c128e7
e66452d
2794616
997a4a5
6a48553
3a372b2
57d451a
ee0942d
1525da4
c96c30d
eddeefe
4418028
270a768
8afbc7f
67977b7
19a31d2
d0a4e63
e046815
a205077
eaf1c8a
4273a18
f2afeea
75af7d0
6fdc6ba
ed27d83
be0e37d
fd6102c
e55603e
d4a3ceb
3b60976
4d20097
6243031
b24890e
5c2e55e
6ea1b54
e738f7e
75a4ea0
2aef66b
36e4130
0ddf8da
9e31738
6f933e3
65a87cf
9cfd153
e07a947
81f7bcb
0861f53
4a80e50
54ccc8b
fe07af1
08ee567
c4cb2b2
d556c82
c16e71b
f1f27b9
394c078
54bba11
9d4f6c6
330c399
8eb7563
090bff5
aebbe52
9d5db0e
bcc83b0
d0bb398
a97c24c
bcf61e8
4447e98
1610ed9
4c9cfb7
8e1f119
10a29c5
2a0f71c
f236e9b
fcfb1ee
128fde4
26f2e9a
8912222
100ddd6
8057498
3a152e7
2a785ac
6aee8f5
937ec64
8cb0a41
4080370
30a340a
1f69fd1
9cd0238
04cf596
07326d7
728bee0
03aad58
090386c
50642c3
ff9a348
71d2213
692c7df
c696ebd
615f268
33ce1e4
8edd612
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,58 @@ project 'gutenberg.xcodeproj' | |
platform :ios, '11.0' | ||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | ||
|
||
def add_flipper_pods!(versions = {}) | ||
versions['Flipper'] ||= '~> 0.33.1' | ||
versions['DoubleConversion'] ||= '1.1.7' | ||
versions['Flipper-Folly'] ||= '~> 2.1' | ||
versions['Flipper-Glog'] ||= '0.3.6' | ||
versions['Flipper-PeerTalk'] ||= '~> 0.0.4' | ||
versions['Flipper-RSocket'] ||= '~> 1.0' | ||
|
||
pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug' | ||
|
||
# List all transitive dependencies for FlipperKit pods | ||
# to avoid them being linked in Release builds | ||
pod 'Flipper', versions['Flipper'], :configuration => 'Debug' | ||
pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug' | ||
pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug' | ||
pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug' | ||
pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug' | ||
pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug' | ||
pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug' | ||
end | ||
|
||
# Post Install processing for Flipper | ||
def flipper_post_install(installer) | ||
installer.pods_project.targets.each do |target| | ||
if target.name == 'YogaKit' | ||
target.build_configurations.each do |config| | ||
config.build_settings['SWIFT_VERSION'] = '4.1' | ||
end | ||
end | ||
end | ||
end | ||
|
||
target 'gutenberg' do | ||
# Comment the next line if you don't want to use dynamic frameworks | ||
use_frameworks! | ||
|
||
# Pods for gutenberg | ||
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" | ||
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" | ||
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" | ||
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" | ||
pod 'FBLazyVector', :path => '../node_modules/react-native/Libraries/FBLazyVector' | ||
pod 'FBReactNativeSpec', :path => '../node_modules/react-native/Libraries/FBReactNativeSpec' | ||
pod 'RCTRequired', :path => '../node_modules/react-native/Libraries/RCTRequired' | ||
pod 'RCTTypeSafety', :path => '../node_modules/react-native/Libraries/TypeSafety' | ||
pod 'React', :path => '../node_modules/react-native/' | ||
pod 'React-Core', :path => '../node_modules/react-native/' | ||
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' | ||
|
@@ -31,9 +74,9 @@ target 'gutenberg' do | |
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' | ||
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' | ||
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' | ||
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon" | ||
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" | ||
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' | ||
pod 'ReactCommon/callinvoker', :path => '../node_modules/react-native/ReactCommon' | ||
pod 'ReactCommon/turbomodule/core', :path => '../node_modules/react-native/ReactCommon' | ||
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true | ||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' | ||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' | ||
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' | ||
|
@@ -42,12 +85,24 @@ target 'gutenberg' do | |
#pod 'WordPress-Aztec-iOS', :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :commit => '23e40905d673673d12b61976f1212f6d97cb47cd' | ||
pod 'Gutenberg', :path => '../Gutenberg.podspec' | ||
|
||
pod 'react-native-get-random-values', :path => '../node_modules/react-native-get-random-values' | ||
|
||
target 'gutenbergTests' do | ||
inherit! :search_paths | ||
inherit! :complete | ||
# Pods for testing | ||
end | ||
|
||
use_native_modules! | ||
|
||
# Enables Flipper. | ||
# | ||
# Note that if you have use_frameworks! enabled, Flipper will not work and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @SergioEstevao 👋 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Last time I tried on the beta versiosn we couldn't, I can give it a go again if you want? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well if you think that it doesn't make a sense then we can leave it as it is and try in the future or if there is some other way to enable it? |
||
# you should disable these next few lines. | ||
#add_flipper_pods! | ||
#post_install do |installer| | ||
# flipper_post_install(installer) | ||
#end | ||
|
||
end | ||
|
||
target 'gutenberg-tvOS' do | ||
|
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.
@SergioEstevao I have saw this change when I used this tool: https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0
not sure if we need it or not, please re-check if you can, thanks!