#pragma once // JS_RUNTIME_HERMES is only set on Android so we have to check __has_include // on iOS. #if __APPLE__ && \ (__has_include( \ ) || __has_include()) #define JS_RUNTIME_HERMES 1 #endif #include #include #include #include namespace reanimated { using namespace facebook; using namespace react; class ReanimatedRuntime { public: static std::shared_ptr make( jsi::Runtime &rnRuntime, const std::shared_ptr &jsQueue, const std::string &name); }; } // namespace reanimated