diff --git a/ios/native/NativeProxy.mm b/ios/native/NativeProxy.mm index 0b9779eb785..682093f376e 100644 --- a/ios/native/NativeProxy.mm +++ b/ios/native/NativeProxy.mm @@ -114,7 +114,7 @@ static id convertJSIValueToObjCObject(jsi::Runtime &runtime, const jsi::Value &v #if __has_include() - std::shared_ptr animatedRuntime = facebook::hermes::makeHermesRuntime(); + std::unique_ptr animatedRuntime = facebook::hermes::makeHermesRuntime(); #elif __has_include() std::unique_ptr animatedRuntime = facebook::hermes::makeHermesRuntime(); #else