From d0c4ef37545bac79a496037d01cfbeb1abdb6d28 Mon Sep 17 00:00:00 2001 From: Hans Date: Mon, 13 May 2024 23:27:10 +0800 Subject: [PATCH] fix: fix dependency --- android/src/main/java/com/hnswlib/HnswlibModule.java | 1 + react-native-hnswlib.podspec | 1 + 2 files changed, 2 insertions(+) diff --git a/android/src/main/java/com/hnswlib/HnswlibModule.java b/android/src/main/java/com/hnswlib/HnswlibModule.java index 70a298b..88653a6 100644 --- a/android/src/main/java/com/hnswlib/HnswlibModule.java +++ b/android/src/main/java/com/hnswlib/HnswlibModule.java @@ -5,6 +5,7 @@ import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactMethod; +import com.facebook.react.turbomodule.core.CallInvokerHolderImpl; public class HnswlibModule extends HnswlibSpec { public static final String NAME = "Hnswlib"; diff --git a/react-native-hnswlib.podspec b/react-native-hnswlib.podspec index 1848fe4..18230a6 100644 --- a/react-native-hnswlib.podspec +++ b/react-native-hnswlib.podspec @@ -36,6 +36,7 @@ Pod::Spec.new do |s| s.dependency "RCTRequired" s.dependency "RCTTypeSafety" s.dependency "ReactCommon/turbomodule/core" + s.dependency "React-callinvoker" end end end