mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Forward the NativeModule schema jsi::Value to TMM
Summary: If `__turboModuleProxy` is called with a second argument, we'll now forward that `jsi::Value` to TurboModuleManager on iOS and Android, so that the TurboModuleManager can eventually use this `jsi::Value` to read data required to perform method invocation on the TurboModule object. **Note:** This diff is basically a no-op right now. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D22828838 fbshipit-source-id: 19db2adcae6a58b4885fcd11bef23f9d5882bfce
This commit is contained in:
committed by
Facebook GitHub Bot
parent
91205d2ba4
commit
111aab590e
+2
-1
@@ -73,7 +73,8 @@ void TurboModuleManager::installJSIBindings() {
|
||||
nativeCallInvoker_ = std::weak_ptr<CallInvoker>(nativeCallInvoker_),
|
||||
delegate_ = jni::make_weak(delegate_),
|
||||
javaPart_ = jni::make_weak(javaPart_)](
|
||||
const std::string &name) -> std::shared_ptr<TurboModule> {
|
||||
const std::string &name,
|
||||
const jsi::Value *schema) -> std::shared_ptr<TurboModule> {
|
||||
auto turboModuleCache = turboModuleCache_.lock();
|
||||
auto jsCallInvoker = jsCallInvoker_.lock();
|
||||
auto nativeCallInvoker = nativeCallInvoker_.lock();
|
||||
|
||||
Reference in New Issue
Block a user