Skip to content

Commit e0e33fc

Browse files
janicduplessisfacebook-github-bot
authored andcommitted
Fix RNTester TurboModules loading (#29538)
Summary: It is now required to call RCTBridge.setRCTTurboModuleRegistry for turbo modules to work properly on iOS. ## Changelog [Internal] [Fix] - Fix RNTester TurboModules loading Pull Request resolved: #29538 Test Plan: Tested that images in RNTester now loads properly and Redbox module missing warning are gone. Reviewed By: JoshuaGross Differential Revision: D22884163 Pulled By: fkgozali fbshipit-source-id: daf2fccdb518ec4a382b80b7f7b02004405a7564
1 parent c085068 commit e0e33fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RNTester/RNTester/AppDelegate.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ - (void)loadSourceForBridge:(RCTBridge *)bridge
153153
_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
154154
delegate:self
155155
jsInvoker:bridge.jsCallInvoker];
156+
[bridge setRCTTurboModuleRegistry:_turboModuleManager];
156157

157158
#if RCT_DEV
158159
/**

0 commit comments

Comments
 (0)