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:
Janic Duplessis
2020-07-31 21:26:35 -07:00
committed by Facebook GitHub Bot
parent c085068d7b
commit e0e33fce53
+1
View File
@@ -153,6 +153,7 @@
_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
delegate:self
jsInvoker:bridge.jsCallInvoker];
[bridge setRCTTurboModuleRegistry:_turboModuleManager];
#if RCT_DEV
/**