From c91af773fa2fafdc0fb8e19ccf503ee203efe0c5 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 30 Jan 2024 03:35:11 -0800 Subject: [PATCH] Make bridgeless the default when the New Arch is enabled (#42182) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42182 For 0.74, we would like to have Bridgeless as the default when the New Architecture is enabled. ## Changelog: [iOS][Breaking] - Make bridgeless the default when the New Arch is enabled Reviewed By: cortinico Differential Revision: D52598104 fbshipit-source-id: a551bbdda7f7b76d1647036137983e39e612ea45 --- packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm b/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm index 55bd24452b9b05..136735e6edf4e4 100644 --- a/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm +++ b/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm @@ -251,7 +251,7 @@ - (BOOL)fabricEnabled - (BOOL)bridgelessEnabled { - return NO; + return [self newArchEnabled]; } #pragma mark - RCTComponentViewFactoryComponentProvider