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

Fix ios pod post_install logic for detecting if fabric is enabled #41284

Closed
Changes from all commits
Commits
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
Fix ios pod post_install logic for detecting if fabric is enabled
  • Loading branch information
gabrieldonadel committed Nov 1, 2023
commit 6d497722b89170952d18a8d208e967ef375504da
2 changes: 1 addition & 1 deletion packages/react-native/scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def react_native_post_install(

ReactNativePodsUtils.apply_mac_catalyst_patches(installer) if mac_catalyst_enabled

fabric_enabled = ReactNativePodsUtils.has_pod(installer, 'React-Fabric')
fabric_enabled = ENV['RCT_FABRIC_ENABLED'] == '1'
hermes_enabled = ReactNativePodsUtils.has_pod(installer, "React-hermes")

if hermes_enabled
Expand Down