-
In RN 0.74 we started to see We implement the function as typealias ViewRefTag = Int
...
override fun setHandledMapChangedEvents(
viewRef: ViewRefTag?,
events: ReadableArray,
promise: Promise
) { Codespec: Int32Our maps/src/specs/NativeMapViewModule.ts has: setHandledMapChangedEvents: ( viewRef: Int32 | null, events: ReadonlyArray<string>) => Promise<Object>; specs-generated.cpp: java.lang.DoubleCodegen generated cpp: static facebook::jsi::Value __hostFunction_NativeMapViewModuleSpecJSI_setHandledMapChangedEvents(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
static jmethodID cachedMethodId = nullptr;
return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, PromiseKind, "setHandledMapChangedEvents", "(Ljava/lang/Double;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Promise;)V", args, count, cachedMethodId);
} ModuleSpec.java: java.lang.IntegerCodegen generate-specs-cli.js generated maps/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeMapViewModuleSpec.java has as: public abstract void setHandledMapChangedEvents(@Nullable Integer viewRef, ReadableArray events, Promise promise); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This looks like a bug. Can you open an issue on facebook/react-native with "Type: New Architecture". Also is this a regression from 0.73 to 0.74? @mfazekas |
Beta Was this translation helpful? Give feedback.
This looks like a bug. Can you open an issue on facebook/react-native with "Type: New Architecture".
Also is this a regression from 0.73 to 0.74? @mfazekas