@react-native/codegen 0.89.0-nightly-20261030-4afc5d5b9 → 0.89.0-nightly-20261031-e57dcb3cc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,8 +18,7 @@ const HostFunctionTemplate = ({
|
|
|
18
18
|
jsReturnType
|
|
19
19
|
}) => {
|
|
20
20
|
return `static facebook::jsi::Value __hostFunction_${hasteModuleName}SpecJSI_${propertyName}(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
|
|
21
|
-
|
|
22
|
-
return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, ${jsReturnType}, "${propertyName}", "${jniSignature}", args, count, cachedMethodId);
|
|
21
|
+
return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, ${jsReturnType}, "${propertyName}", "${jniSignature}", args, count);
|
|
23
22
|
}`;
|
|
24
23
|
};
|
|
25
24
|
const ModuleClassConstructorTemplate = ({
|
|
@@ -54,8 +54,7 @@ const HostFunctionTemplate = ({
|
|
|
54
54
|
jsReturnType: JSReturnType,
|
|
55
55
|
}>) => {
|
|
56
56
|
return `static facebook::jsi::Value __hostFunction_${hasteModuleName}SpecJSI_${propertyName}(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
|
|
57
|
-
|
|
58
|
-
return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, ${jsReturnType}, "${propertyName}", "${jniSignature}", args, count, cachedMethodId);
|
|
57
|
+
return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, ${jsReturnType}, "${propertyName}", "${jniSignature}", args, count);
|
|
59
58
|
}`;
|
|
60
59
|
};
|
|
61
60
|
|