Skip to content

Commit 66f9fbe

Browse files
Sahejkmfacebook-github-bot
authored andcommitted
Restore -[RCTBridgeProxy object] deleted in D127294703
Summary: Restores only `-[RCTBridgeProxy object]`, which D127294703 deleted along with the other orphan `RCTBridgeProxy` shims. Its removal made `FabricInteropLayer-addChildren-e2e` (config `rntester_ios`) fail starting 2026-11-18. Root cause: the bridgeless legacy view manager interop layer still sends `-object` to the bridge proxy when it sets up a legacy component. `RCTBridgeProxy` is an `NSProxy`, so without the method the message falls through to `doesNotRecognizeSelector:object`, which crashes RNTester when it renders the interop addChildren example. Per review, the other shims D127294703 removed stay deleted; only `-object` comes back. Changelog: [Internal] Reviewed By: javache Differential Revision: D132821924
1 parent 13b3b85 commit 66f9fbe

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/react-native/React/Base/RCTBridgeProxy.mm‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ - (RCTUIManager *)uiManager
283283
return (RCTUIManager *)_uiManagerProxy;
284284
}
285285

286+
- (RCTBridgeProxy *)object
287+
{
288+
return self;
289+
}
290+
286291
/**
287292
* NSProxy setup
288293
*/

0 commit comments

Comments
 (0)