Skip to content
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

Closed
wants to merge 130 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
173f673
Upgrade RN to 0.62.0-rc.1
marecar3 Jan 27, 2020
d741de3
Update build.gradle and package.json to RN 0.62
marecar3 Jan 29, 2020
fc42c1b
Merge branch 'develop' into update-rn-0-62
marecar3 Jan 29, 2020
8745d31
Move back to react 16.9.0
marecar3 Jan 29, 2020
3dced93
Update gb reference
marecar3 Jan 29, 2020
c541425
Remove patch package and patch file
marecar3 Jan 29, 2020
0a72c27
Update podfile for React 0.62
SergioEstevao Jan 29, 2020
930c41e
Merge branch 'develop' into update-rn-0-62
marecar3 Jan 31, 2020
b29a3fd
Update gb reference
marecar3 Jan 31, 2020
948b224
Merge
marecar3 Feb 3, 2020
bbc78a2
Update react
marecar3 Feb 3, 2020
c7f42d9
Update yarn.lock
marecar3 Feb 3, 2020
c9dc002
Bump RN version to rc.2
marecar3 Feb 13, 2020
81ac9a1
Update gb reference
marecar3 Feb 13, 2020
8425799
Merge branch 'develop' into update-rn-0-62
marecar3 Feb 13, 2020
f61628b
Bump RN to rc2
marecar3 Feb 13, 2020
1393362
Update React CLI and Podfile to support version 0.62.rc2 of RN
SergioEstevao Feb 17, 2020
c01c3db
Try to update node version on CircleCI
SergioEstevao Feb 17, 2020
c30858b
Update test renderer and react-dom to match react version
SergioEstevao Feb 17, 2020
ca1786a
Update Gutenberg Ref
SergioEstevao Feb 18, 2020
8a3cd45
Update Gutenberg ref.
SergioEstevao Feb 18, 2020
585849d
Merge branch 'develop' into update-rn-0-62
SergioEstevao Feb 19, 2020
eaa50b3
Merge branch 'develop' into update-rn-0-62
SergioEstevao Mar 13, 2020
e030e54
Update RN to 0.62-rc5
SergioEstevao Mar 15, 2020
72195a2
Update GB reference.
SergioEstevao Mar 17, 2020
9a3b4aa
Update gb reference
marecar3 Mar 25, 2020
9d3b11d
Merge branch 'develop' into update-rn-0-62
marecar3 Mar 25, 2020
1baaa27
Update podfile lock
marecar3 Mar 25, 2020
7c128e7
Update gutenberg reference
marecar3 Mar 25, 2020
e66452d
Update react-native-video and react-native-svg reference
marecar3 Mar 25, 2020
2794616
Update rn to rc.5
marecar3 Mar 25, 2020
997a4a5
Merge branch 'develop' into update-rn-0-62
marecar3 Mar 26, 2020
6a48553
Bump rn to 0.62.0
marecar3 Mar 26, 2020
3a372b2
Update RN-cli version to 4.2.x
SergioEstevao Mar 26, 2020
57d451a
merge
marecar3 Mar 27, 2020
ee0942d
Update gb reference
marecar3 Mar 27, 2020
1525da4
Update podspecs
marecar3 Mar 27, 2020
c96c30d
Make sure build is done before bundling on CI
SergioEstevao Mar 27, 2020
eddeefe
Update podspec files using the generate-podspecs script.
SergioEstevao Mar 27, 2020
4418028
Add h files to blob pod.
SergioEstevao Mar 27, 2020
270a768
Fix ios test build path
marecar3 Mar 27, 2020
8afbc7f
Merge branch 'update-rn-0-62' of https://github.com/wordpress-mobile/…
marecar3 Mar 27, 2020
67977b7
Fix ios path
marecar3 Mar 27, 2020
19a31d2
fix path issue
marecar3 Mar 28, 2020
d0a4e63
try something
marecar3 Mar 28, 2020
e046815
Try again
marecar3 Mar 28, 2020
a205077
try again
marecar3 Mar 28, 2020
eaf1c8a
try
marecar3 Mar 28, 2020
4273a18
try
marecar3 Mar 28, 2020
f2afeea
try again
marecar3 Mar 28, 2020
75af7d0
try again
marecar3 Mar 28, 2020
6fdc6ba
try
marecar3 Mar 28, 2020
ed27d83
try
marecar3 Mar 28, 2020
be0e37d
Fix steps
marecar3 Mar 28, 2020
fd6102c
Get build path of workspace
marecar3 Mar 28, 2020
e55603e
Get path for ios simulator
marecar3 Mar 28, 2020
d4a3ceb
update gb reference
marecar3 Mar 28, 2020
3b60976
Merge branch 'develop' into update-rn-0-62
marecar3 Mar 28, 2020
4d20097
Update gb reference
marecar3 Apr 4, 2020
6243031
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 4, 2020
b24890e
Bump RN to 0.62.1
marecar3 Apr 4, 2020
5c2e55e
Update react-native-svg and react-native-video
marecar3 Apr 4, 2020
6ea1b54
Align gradle files with react native official version
marecar3 Apr 4, 2020
e738f7e
Bump rn to 0.62.1
marecar3 Apr 4, 2020
75a4ea0
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 6, 2020
2aef66b
Update gb reference
marecar3 Apr 6, 2020
36e4130
Update pod.lock file
marecar3 Apr 6, 2020
0ddf8da
Merge "set environment variables" into one command
marecar3 Apr 7, 2020
9e31738
Update gb reference
marecar3 Apr 7, 2020
6f933e3
Remove react-nartive-dark-mode dependency
marecar3 Apr 7, 2020
65a87cf
Add h files to blob pod.
marecar3 Apr 7, 2020
9cfd153
Update gb reference
marecar3 Apr 9, 2020
e07a947
Bump rn to 0.62.2
marecar3 Apr 9, 2020
81f7bcb
Bump rnVersion to 0.62.2 in gradle files
marecar3 Apr 9, 2020
0861f53
Bump specs to 0.62.2 version
marecar3 Apr 9, 2020
4a80e50
Update gb reference
marecar3 Apr 9, 2020
54ccc8b
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 9, 2020
fe07af1
Bump RN version in react-native-svg and react-native-video
marecar3 Apr 9, 2020
08ee567
Update gb reference
marecar3 Apr 9, 2020
c4cb2b2
Merge branch 'update-rn-0-62' into try/use_rn_0.62_hook_for_dark_mode…
marecar3 Apr 9, 2020
d556c82
Merge branch 'update-rn-0-62' into try/use_rn_0.62_hook_for_dark_mode…
marecar3 Apr 9, 2020
c16e71b
Merge branch 'try/use_rn_0.62_hook_for_dark_mode_ios' of https://gith…
marecar3 Apr 9, 2020
f1f27b9
Update gb reference
marecar3 Apr 13, 2020
394c078
Merge pull request #2120 from wordpress-mobile/try/use_rn_0.62_hook_f…
marecar3 Apr 13, 2020
54bba11
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 21, 2020
9d4f6c6
Update gb reference
marecar3 Apr 21, 2020
330c399
Update podfile lock
marecar3 Apr 21, 2020
8eb7563
Update bundles.
SergioEstevao Apr 22, 2020
090bff5
Remove generation of podspec of no longer used package
SergioEstevao Apr 22, 2020
aebbe52
Update cli.
SergioEstevao Apr 22, 2020
9d5db0e
Update bundles.
SergioEstevao Apr 22, 2020
bcc83b0
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 22, 2020
d0bb398
update yarn lock
marecar3 Apr 22, 2020
a97c24c
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 22, 2020
bcf61e8
Update bundle files
marecar3 Apr 22, 2020
4447e98
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 23, 2020
1610ed9
Update bundle files
marecar3 Apr 23, 2020
4c9cfb7
Update gb reference
marecar3 Apr 25, 2020
8e1f119
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 25, 2020
10a29c5
Update gb reference
marecar3 Apr 27, 2020
2a0f71c
update yarn.lock
marecar3 Apr 27, 2020
f236e9b
Update yarn lock and gutenberg reference
marecar3 Apr 27, 2020
fcfb1ee
Update gb reference
marecar3 Apr 27, 2020
128fde4
Update gutenberg reference
marecar3 Apr 27, 2020
26f2e9a
Update gb reference
marecar3 Apr 27, 2020
8912222
Update gb reference
marecar3 Apr 29, 2020
100ddd6
Merge branch 'develop' into update-rn-0-62
marecar3 Apr 29, 2020
8057498
Merge branch 'develop' into update-rn-0-62
marecar3 May 13, 2020
3a152e7
update bundle files
marecar3 May 13, 2020
2a785ac
Update podfile.lock
marecar3 May 13, 2020
6aee8f5
Update bundle files
marecar3 May 13, 2020
937ec64
Update gb reference
marecar3 May 14, 2020
8cb0a41
Update gb reference
marecar3 May 18, 2020
4080370
Fix getRandomValues crash on Android
marecar3 May 18, 2020
30a340a
Update bundle files
marecar3 May 18, 2020
1f69fd1
Merge
marecar3 May 18, 2020
9cd0238
Increment sdk and app compat
marecar3 May 20, 2020
04cf596
Merge branch 'develop' into update-rn-0-62
marecar3 May 20, 2020
07326d7
update podfile
marecar3 May 20, 2020
728bee0
Merge branch 'develop' into update-rn-0-62
marecar3 May 22, 2020
03aad58
Update gb reference
marecar3 May 22, 2020
090386c
Merge branch 'develop' into update-rn-0-62
marecar3 May 22, 2020
50642c3
Update gb reference
marecar3 May 22, 2020
ff9a348
Merge branch 'develop' into update-rn-0-62
marecar3 May 22, 2020
71d2213
Merge branch 'develop' into update-rn-0-62
marecar3 May 22, 2020
692c7df
update gb reference
marecar3 May 22, 2020
c696ebd
fix wrong rn version number in rn-gutenberg-bridge
marecar3 May 22, 2020
615f268
Merge
marecar3 May 26, 2020
33ce1e4
Patch RN 0.62.2 to have a possibility to disable buttons in action sheet
lukewalczak May 26, 2020
8edd612
Merge
marecar3 Jun 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ jobs:
command: |
echo 'export TEST_RN_PLATFORM=ios' >> $BASH_ENV
echo 'export TEST_ENV=sauce' >> $BASH_ENV
echo 'export TEST_RN_MOBILE=gbmobile' >> $BASH_ENV
cd ios
var=$(xcodebuild -workspace gutenberg.xcworkspace -scheme gutenberg -sdk iphonesimulator -showBuildSettings | grep TARGET_BUILD_DIR | cut -d "=" -f2) && echo 'export TEST_IOS_BUILD_PATH='${var// /}'' >> $BASH_ENV
no_output_timeout: "20s"
- run:
name: Prepare build cache key
command: find yarn.lock ios react-native-aztec/ios react-native-gutenberg-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt
Expand All @@ -160,8 +164,8 @@ jobs:
- dependencies-v3-{{ checksum "ios/Gemfile.lock" }}
- dependencies-v3-
- run:
name: Build (if needed)
command: test -e ios/build/gutenberg/Build/Products/Release-iphonesimulator/GutenbergDemo.app || SKIP_BUNDLING=true yarn test:e2e:build-app:ios
name: Build
command: yarn test:e2e:build-app:ios
- save_cache:
name: Save Dependencies Cache
key: dependencies-v3-{{ checksum "ios/Gemfile.lock" }}-{{ checksum "ios/Podfile.lock" }}-{{
Expand All @@ -176,7 +180,7 @@ jobs:
command: yarn test:e2e:bundle:ios
- run:
name: Generate .app file for testing
command: WORK_DIR=$(pwd) && cd ./ios/build/gutenberg/Build/Products/Release-iphonesimulator && zip -r $WORK_DIR/ios/GutenbergDemo.app.zip GutenbergDemo.app
command: WORK_DIR=$(pwd) && cd $TEST_IOS_BUILD_PATH && zip -r $WORK_DIR/ios/GutenbergDemo.app.zip GutenbergDemo.app
- run:
name: Upload .app to sauce labs
command: |
Expand All @@ -193,12 +197,12 @@ jobs:
path: ./reports/test-results
- run:
name: Prepare build cache
command: rm ios/build/gutenberg/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
command: rm $TEST_IOS_BUILD_PATH/GutenbergDemo.app/main.jsbundle
- save_cache:
name: Save Build Cache
key: ios-build-cache-{{ checksum "ios-checksums.txt" }}
paths:
- ios/build/gutenberg/Build/Products/Release-iphonesimulator/GutenbergDemo.app
- $TEST_IOS_BUILD_PATH/GutenbergDemo.app
- when:
condition: << parameters.post-to-slack >>
steps:
Expand Down
7 changes: 5 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import com.android.build.OutputFile
* // the name of the generated asset file containing your JS bundle
* bundleAssetName: "index.android.bundle",
*
* // the entry file for bundle generation
* // the entry file for bundle generation. If none specified and
* // "index.android.js" exists, it will be used. Otherwise "index.js" is
* // default. Can be overridden with ENTRY_FILE environment variable.
* entryFile: "index.android.js",
*
* // whether to bundle JS and assets in debug mode
Expand Down Expand Up @@ -132,6 +134,7 @@ android {
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}

// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
Expand Down Expand Up @@ -162,7 +165,7 @@ dependencies {
implementation project(':react-native-aztec')
implementation project(':react-native-gutenberg-bridge')
implementation "org.wordpress:utils:$wordpressUtilsVersion"
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation "com.facebook.react:react-native:+" // From node_modules
}

Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/res/xml/react_native_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">localhost</domain>
<domain includeSubdomains="false">10.0.2.2</domain>
<domain includeSubdomains="false">10.0.3.2</domain>
<domain includeSubdomains="false">192.168.0.100</domain>
</domain-config>
</network-security-config>
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/java/com/gutenberg/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import androidx.core.util.Consumer;

import com.facebook.react.ReactApplication;
import org.linusu.RNGetRandomValuesPackage;
import com.BV.LinearGradient.LinearGradientPackage;
import com.facebook.react.bridge.ReadableMap;
import com.reactnativecommunity.slider.ReactSliderPackage;
Expand Down Expand Up @@ -161,6 +162,7 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.asList(
new MainReactPackage(),
new RNGetRandomValuesPackage(),
new ReactSliderPackage(),
new ReactVideoPackage(),
new SvgPackage(),
Expand Down
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
buildscript {
ext {
gradlePluginVersion = '3.4.2'
kotlinVersion = '1.3.11'
gradlePluginVersion = '3.5.3'
kotlinVersion = '1.3.61'
buildToolsVersion = "28.0.3"
minSdkVersion = 21
compileSdkVersion = 28
targetSdkVersion = 28
compileSdkVersion = 29
targetSdkVersion = 29
supportLibVersion = '28.0.0'
wordpressUtilsVersion = '1.22'
}
Expand All @@ -32,6 +32,6 @@ allprojects {

google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://www.jitpack.io' }
}
}
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip
2 changes: 2 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
rootProject.name = 'gutenberg'
include ':react-native-get-random-values'
project(':react-native-get-random-values').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-get-random-values/android')

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)

Expand Down
2 changes: 1 addition & 1 deletion bin/generate-podspecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EXTERNAL_PODSPECS=$(find "node_modules/react-native/third-party-podspecs" \
"node_modules/react-native-keyboard-aware-scroll-view" \
"node_modules/react-native-safe-area" \
"node_modules/react-native-video" \
"node_modules/react-native-dark-mode" -type f -name "*.podspec" -print)
-type f -name "*.podspec" -print)

for podspec in $EXTERNAL_PODSPECS
do
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 65 files
+3 −5 .travis.yml
+2 −2 composer.lock
+6 −0 docs/manifest.json
+12 −12 lib/class-wp-rest-block-types-controller.php
+11 −9 lib/edit-site-page.php
+1,743 −982 package-lock.json
+9 −11 package.json
+5 −1 packages/block-editor/src/components/plain-text/index.native.js
+12 −0 packages/block-editor/src/components/provider/use-block-sync.js
+37 −23 packages/blocks/src/api/registration.js
+60 −0 packages/blocks/src/api/test/registration.js
+4 −12 packages/components/src/mobile/html-text-input/test/index.native.js
+2 −7 packages/compose/src/hooks/use-preferred-color-scheme/index.ios.js
+5 −1 packages/create-block/CHANGELOG.md
+2 −2 packages/create-block/lib/templates/esnext/$slug.php.mustache
+5 −0 packages/create-block/lib/templates/esnext/src/edit.js.mustache
+1 −1 packages/create-block/lib/templates/esnext/src/editor.scss.mustache
+1 −0 packages/create-block/lib/templates/esnext/src/index.js.mustache
+2 −2 packages/create-block/lib/templates/esnext/src/style.scss.mustache
+1 −1 packages/create-block/package.json
+1 −1 packages/data/src/plugins/persistence/index.js
+3 −1 packages/edit-site/package.json
+15 −54 packages/edit-site/src/components/block-editor/index.js
+154 −161 packages/edit-site/src/components/editor/index.js
+48 −102 packages/edit-site/src/components/header/index.js
+24 −66 packages/edit-site/src/components/navigate-to-link/index.js
+4 −12 packages/edit-site/src/components/page-switcher/index.js
+13 −25 packages/edit-site/src/components/save-button/index.js
+8 −18 packages/edit-site/src/components/template-switcher/index.js
+10 −3 packages/edit-site/src/index.js
+102 −0 packages/edit-site/src/store/actions.js
+24 −4 packages/edit-site/src/store/controls.js
+11 −9 packages/edit-site/src/store/index.js
+155 −0 packages/edit-site/src/store/reducer.js
+141 −0 packages/edit-site/src/store/selectors.js
+106 −1 packages/edit-site/src/store/test/actions.js
+44 −0 packages/edit-site/src/store/test/controls.js
+231 −1 packages/edit-site/src/store/test/reducer.js
+111 −1 packages/edit-site/src/store/test/selectors.js
+35 −0 packages/edit-site/src/utils/find-template.js
+1 −0 packages/edit-site/src/utils/index.js
+49 −0 packages/edit-site/src/utils/test/find-template.js
+2 −2 packages/element/package.json
+2 −1 packages/env/lib/build-docker-compose-config.js
+2 −0 packages/env/lib/config.js
+18 −0 packages/env/lib/wordpress.js
+1 −0 packages/eslint-plugin/configs/jsdoc.js
+1 −1 packages/format-library/src/link/utils.js
+84 −43 packages/is-shallow-equal/benchmark/index.js
+1 −0 packages/lazy-import/.npmrc
+5 −0 packages/lazy-import/CHANGELOG.md
+81 −0 packages/lazy-import/README.md
+139 −0 packages/lazy-import/lib/index.js
+32 −0 packages/lazy-import/package.json
+8 −0 packages/lazy-import/tsconfig.json
+1 −0 packages/scripts/scripts/check-licenses.js
+28 −24 packages/url/CHANGELOG.md
+19 −0 packages/url/README.md
+26 −0 packages/url/src/get-path-and-query-string.js
+1 −0 packages/url/src/index.js
+37 −0 packages/url/src/test/index.test.js
+24 −0 phpunit/bootstrap.php
+21 −0 phpunit/class-phpunit-environment-setup-test.php
+0 −10 test/native/setup.js
+1 −0 tsconfig.json
71 changes: 63 additions & 8 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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
Copy link
Contributor Author

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!

# Pods for testing
end

use_native_modules!

# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @SergioEstevao 👋
please, can you take a look at this and see if we can enable Flipper?
(as it seems that we have use_frameworks! enabled?) Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The 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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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
Expand Down
Loading