diff --git a/package.json b/package.json index bffb349..e049efd 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "brace-expansion": "^1.1.12" }, "peerDependencies": { - "react": "^17.0.2 || ^18.0.0", - "react-native": "^0.65.3 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0 || ^0.74.0 || ^0.75.0" + "react": "^17.0.2 || ^18.0.0 || ^19.0.0", + "react-native": ">=0.65.3" }, "jest": { "preset": "react-native", diff --git a/skyflow-react-native.podspec b/skyflow-react-native.podspec index 88d5562..73c562f 100644 --- a/skyflow-react-native.podspec +++ b/skyflow-react-native.podspec @@ -1,7 +1,6 @@ require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) -folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' Pod::Spec.new do |s| s.name = "skyflow-react-native" @@ -20,14 +19,12 @@ Pod::Spec.new do |s| # Don't install the dependencies when we run `pod install` in the old architecture. if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then - s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" + s.compiler_flags = "-DRCT_NEW_ARCH_ENABLED=1" s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"", "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" } - s.dependency "React-Codegen" - s.dependency "RCT-Folly" s.dependency "RCTRequired" s.dependency "RCTTypeSafety" s.dependency "ReactCommon/turbomodule/core"