ReactNativePermissions.podspec 585B

1234567891011121314151617181920
  1. require 'json'
  2. package = JSON.parse(File.read('./package.json'))
  3. Pod::Spec.new do |s|
  4. s.name = 'ReactNativePermissions'
  5. s.dependency "React"
  6. s.version = package["version"]
  7. s.license = package["license"]
  8. s.summary = package["description"]
  9. s.authors = package["author"]
  10. s.homepage = package["homepage"]
  11. s.platforms = { :ios => "9.0", :tvos => "11.0" }
  12. s.requires_arc = true
  13. s.source = { :git => package["repository"]["url"], :tag => s.version }
  14. s.source_files = "ios/**/*.{h,m}"
  15. end