react-native/scripts
Franco Meloni 0bd5239553 Move use_flipper logic inside use_react_native and simplify the Flipper dependencies logic (#33882)
Summary:
This PR tries to simplify the `use_flipper` logic:
- makes `use_flipper` a configuration inside `use_react_native`'s options
- uses the already present `production` flag in the `use_react_native`'s options to decide if add or not the Flipper pods
- Simplifies the logic to download the flipper dependencies

This PR also adds a workaround for https://github.com/facebook/react-native/issues/33764

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Changed] - Move `use_flipper` logic inside `use_react_native` and simplify the Flipper dependencies logic

Pull Request resolved: https://github.com/facebook/react-native/pull/33882

Test Plan: Executed a pod install with and without flipper and with isProduction true

Reviewed By: cipolleschi

Differential Revision: D36592338

Pulled By: f-meloni

fbshipit-source-id: 3c3f773151513e27e251f18865986e942a96ffd9
2022-05-24 04:37:46 -07:00
..
__tests__ Fix test_windows by passing the correct platform to the Metro Virtual FS (#33870) 2022-05-19 03:29:56 -07:00
circleci Setup a toplevel downloadAll task (#33852) 2022-05-17 15:31:48 -07:00
cocoapods Move use_flipper logic inside use_react_native and simplify the Flipper dependencies logic (#33882) 2022-05-24 04:37:46 -07:00
codegen Fix tests for Windows (#33893) 2022-05-24 01:41:08 -07:00
hermes iOS: Use pre-built hermesc if available (#33827) 2022-05-13 14:43:14 -07:00
react_native_pods_utils Run script phases tests in CI and Sandcastle (#33802) 2022-05-11 10:00:28 -07:00
versiontemplates
xcode Export REACT_NATIVE_PATH and fix find-node-for-xcode.sh fallback behavior (#33674) 2022-04-21 06:59:17 -07:00
.packager.env
.tests.env
android-e2e-test.js
android-setup.sh
bump-oss-version.js Fix up lint errors under react-native-github (#33622) 2022-04-22 16:25:25 -07:00
compose-source-maps.js
download-kotlin-compiler-with-buck.sh Download kotlin compiler JARs for Buck instead of checking them in (#33209) 2022-03-02 13:04:49 -08:00
find-node-for-xcode.sh Reintroduce find-node.sh as mitigation measure (#33538) 2022-04-04 02:43:07 -07:00
generate-api-docs.js
generate-artifacts.js Refactor generate-artifacts to improve testability. 2022-05-04 04:04:10 -07:00
generate-provider-cli.js
generate-specs-cli.js Update CodeGen to leverage the outputDir as suggested in diff review (#33729) 2022-05-04 04:04:10 -07:00
ios-configure-glog.sh
launchPackager.bat
launchPackager.command
lint-java.js
node-binary.sh
objc-test.sh fix: Make WebSocketTests work in CI (#33721) 2022-04-28 08:53:24 -07:00
packager-reporter.js
packager.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
prepare-package-for-release.js Fix up lint errors under react-native-github (#33622) 2022-04-22 16:25:25 -07:00
process-podspecs.sh
publish-npm.js Do not fail if -javadoc.jar are missing in the final NPM package (#33869) 2022-05-19 02:48:39 -07:00
react_native_pods.rb Move use_flipper logic inside use_react_native and simplify the Flipper dependencies logic (#33882) 2022-05-24 04:37:46 -07:00
react-native-xcode.sh Introduce .xcode.env configuration file to source node (#33546) 2022-04-11 02:50:57 -07:00
run_ruby_tests.sh Run script phases tests in CI and Sandcastle (#33802) 2022-05-11 10:00:28 -07:00
run-android-ci-instrumentation-tests.js
run-android-emulator.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
run-android-local-integration-tests.sh
run-android-local-unit-tests.sh
run-ci-e2e-tests.js
run-ci-javascript-tests.js
run-instrumentation-tests-via-adb-shell.sh
set-rn-template-version.js
set-rn-version.js
sync-css-layout.sh
test-manual-e2e.sh fix: Access to relative paths when invoking test-manual-e2e (#33000) 2022-02-03 09:10:11 -08:00
try-n-times.js
update_podfile_lock.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
update-ruby.sh Added Gemfile.lock to git add files when calling update-ruby.sh (#33484) 2022-03-25 08:01:41 -07:00
validate-android-device-env.sh
validate-android-sdk.sh
validate-android-test-env.sh
validate-ios-test-env.sh bump Node references from 12/14 to 14/16 (#32980) 2022-01-28 05:07:18 -08:00
version-utils.js