24 lines
674 B
Ruby
24 lines
674 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "react-native-rate-app"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = package["homepage"]
|
|
s.license = package["license"]
|
|
s.authors = package["author"]
|
|
|
|
s.platforms = { :ios => "14.0" }
|
|
s.source = { :git => "https://github.com/huextrat/react-native-rate-app.git", :tag => "#{s.version}" }
|
|
|
|
s.source_files = "ios/**/*.{h,m,mm,cpp}"
|
|
|
|
if defined?(install_modules_dependencies()) != nil
|
|
install_modules_dependencies(s)
|
|
else
|
|
s.dependency "React-Core"
|
|
end
|
|
end
|