mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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: https://github.com/facebook/react-native/pull/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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c085068d7b
commit
e0e33fce53
@@ -153,6 +153,7 @@
|
||||
_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
|
||||
delegate:self
|
||||
jsInvoker:bridge.jsCallInvoker];
|
||||
[bridge setRCTTurboModuleRegistry:_turboModuleManager];
|
||||
|
||||
#if RCT_DEV
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user