Remove unused RCTTurboModuleInteropBridgeProxy code (#57002)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57002

Changelog: [INTERNAL] Remove unused RCTTurboModuleInteropBridgeProxy code

Reviewed By: mdvacca

Differential Revision: D106830105

fbshipit-source-id: cd56c31cb841010f3a6c5d5d4f094df77c1f794d
This commit is contained in:
Christoph Purrer authored and meta-codesync[bot] committed 2026-05-29 14:44:38 -07:00
1 parent ee43ce7dba
commit 9ac12ce0bc
3 files changed
-16

No files matched your search

@@ -153,7 +153,6 @@
{
// Enable TurboModule interop by default in Bridgeless mode
RCTEnableTurboModuleInterop(YES);
RCTEnableTurboModuleInteropBridgeProxy(YES);
[self createReactHostIfNeeded:launchOptions
bundleConfiguration:bundleConfiguration
@@ -54,10 +54,6 @@ void RCTEnableTurboModule(BOOL enabled);
BOOL RCTTurboModuleInteropEnabled(void);
void RCTEnableTurboModuleInterop(BOOL enabled);
// Turn on TurboModule interop's Bridge proxy
BOOL RCTTurboModuleInteropBridgeProxyEnabled(void);
void RCTEnableTurboModuleInteropBridgeProxy(BOOL enabled);
// Turn on the fabric interop layer
BOOL RCTFabricInteropLayerEnabled(void);
void RCTEnableFabricInteropLayer(BOOL enabled);
@@ -209,17 +209,6 @@ void RCTEnableTurboModuleInterop(BOOL enabled)
turboModuleInteropEnabled = enabled;
}
static BOOL turboModuleInteropBridgeProxyEnabled = NO;
BOOL RCTTurboModuleInteropBridgeProxyEnabled(void)
{
return turboModuleInteropBridgeProxyEnabled;
}
void RCTEnableTurboModuleInteropBridgeProxy(BOOL enabled)
{
turboModuleInteropBridgeProxyEnabled = enabled;
}
static BOOL fabricInteropLayerEnabled = YES;
BOOL RCTFabricInteropLayerEnabled()
{