Notifications.podspec 580B

1234567891011121314151617181920
  1. require 'json'
  2. package = JSON.parse(File.read('../package.json'))
  3. Pod::Spec.new do |s|
  4. s.name = "Permission-Notifications"
  5. s.dependency "RNPermissions"
  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.platform = :ios, "9.0"
  12. s.requires_arc = true
  13. s.source = { :git => package["repository"]["url"], :tag => s.version }
  14. s.source_files = "Notifications/*.{h,m}"
  15. end