-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch React Native 0.70.0-rc.0 to bake prod env var for iOS Release
Similar to: facebook/react-native#34234 Unblock: #690
- Loading branch information
Showing
4 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
.yarn/patches/react-native-npm-0.70.0-rc.0-00aa7e4469.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb | ||
index 3d86c4f3de4e3db91dee20085545aacacecebf5b..28abb4df3c5e0028d341201cae87dae1b966ad43 100644 | ||
--- a/scripts/react_native_pods.rb | ||
+++ b/scripts/react_native_pods.rb | ||
@@ -34,7 +34,7 @@ def use_react_native! (options={}) | ||
new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1' | ||
|
||
# Include DevSupport dependency | ||
- production = options[:production] ||= false | ||
+ production = ENV['PRODUCTION'] == '1' | ||
|
||
# Include Hermes dependencies | ||
hermes_enabled = options[:hermes_enabled] != nil ? options[:hermes_enabled] : true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters