mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
Summary: This is the iOS binding for TurboModule. To install the TurboModule binding: * Provide `RCTCxxBridgeDelegate` * Provide `RCTTurboModuleManagerDelegate` Somewhere in `RCTCxxBridgeDelegate` impl: ``` RCTTurboModuleManager *manager = [[RCTTurboModuleManager alloc] initWithRuntime:&runtime bridge:bridge delegate:self]; [manager installJSBinding]; ``` Doing so will install `global.__turboModuleProxy()` in JS space. Note: * The full instructions will be provided once all pieces are moved to OSS. * Sample modules and binding setup will be provided later. Reviewed By: RSNara Differential Revision: D13583442 fbshipit-source-id: bb1cabd973e8a9ec59da6b145826e9ea234a96b3