mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
TM: Updates RNTester for TurboModule (#24827)
Summary: We changed TM Manager API https://github.com/facebook/react-native/commit/0436f81595a932e469adcf029e07d787febe12a3, synced to update RNTester. cc. fkgozali [iOS] [Fixed] - Updates RNTester for TurboModule Pull Request resolved: https://github.com/facebook/react-native/pull/24827 Differential Revision: D15318135 Pulled By: cpojer fbshipit-source-id: a5d8462e7065b5b16f777378a4cd7059765626e2
This commit is contained in:
committed by
Facebook Github Bot
parent
a2a03bc68b
commit
2cd6c0c82e
@@ -143,8 +143,8 @@
|
||||
__typeof(self) strongSelf = weakSelf;
|
||||
if (strongSelf) {
|
||||
#ifdef RN_TURBO_MODULE_ENABLED
|
||||
strongSelf->_turboModuleManager = [[RCTTurboModuleManager alloc] initWithRuntime:&runtime bridge:bridge delegate:strongSelf];
|
||||
[strongSelf->_turboModuleManager installJSBinding];
|
||||
strongSelf->_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge delegate:strongSelf];
|
||||
[strongSelf->_turboModuleManager installJSBindingWithRuntime:&runtime];
|
||||
#endif
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user