Skip to content

Commit

Permalink
Merge pull request #26 from j-piasecki/patch-1
Browse files Browse the repository at this point in the history
Update podspec to not rely on hardcoded `folly_version`
  • Loading branch information
mountiny authored Jan 17, 2024
2 parents cd8b888 + 05779f6 commit ad82bb7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions react-native-key-command.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))
folly_version = '2021.06.28.00-v2'
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|
Expand All @@ -27,10 +26,5 @@ Pod::Spec.new do |s|
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
}

s.dependency "React-Codegen"
s.dependency "RCT-Folly", folly_version
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
end
install_modules_dependencies(s)
end

0 comments on commit ad82bb7

Please sign in to comment.