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