We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
react-native-flipper
NO_FLIPPER=1
1 parent 7bdeed6 commit 3d8152eCopy full SHA for 3d8152e
template/ios/Podfile
@@ -4,6 +4,15 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
4
platform :ios, min_ios_version_supported
5
prepare_react_native_project!
6
7
+# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
8
+# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
9
+#
10
+# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
11
+# ```js
12
+# module.exports = {
13
+# dependencies: {
14
+# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
15
+# ```
16
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
17
18
linkage = ENV['USE_FRAMEWORKS']
0 commit comments