Skip to content

Commit 2cfe1cb

Browse files
committed
Disable Flipper in CI environments
- PRODUCTION=1 internally disables Flipper - not using JS `react-native-flipper` - react-native.config.js not required - using RNCLI v11.3.7 ahead of RN v0.71.12 - avoid replacing with newer archived Flipper version - to deal with Xcode incompatibilities - follow-up: #1778
1 parent dcd788e commit 2cfe1cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

β€Žios/Podfileβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ ENV['RCT_NEW_ARCH_ENABLED'] = '1'
1414
# dependencies: {
1515
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
1616
# ```
17-
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled(["Debug"], { 'Flipper' => flipperkit_version })
17+
disabled = ENV['CI'] || ENV['NO_FLIPPER'] == '1'
18+
flipper_config = disabled ? FlipperConfiguration.disabled : FlipperConfiguration.enabled(["Debug"], { 'Flipper' => flipperkit_version })
1819

1920
linkage = ENV['USE_FRAMEWORKS']
2021
if linkage != nil

β€Žios/Podfile.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,6 @@ SPEC CHECKSUMS:
11021102
Yoga: 39310a10944fc864a7550700de349183450f8aaa
11031103
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
11041104

1105-
PODFILE CHECKSUM: e95545ae467f1e01ee01a7e6c53ec30a60ddc61f
1105+
PODFILE CHECKSUM: 72cd0351f709d750925c56d85579e327a2ba777f
11061106

11071107
COCOAPODS: 1.16.2

0 commit comments

Comments
Β (0)