ReactNativePermissions.podspec 805B

1234567891011121314151617181920212223
  1. require 'json'
  2. package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
  3. Pod::Spec.new do |s|
  4. s.name = 'ReactNativePermissions'
  5. s.version = package['version']
  6. s.summary = package['description']
  7. s.description = package['description']
  8. s.homepage = package['homepage']
  9. s.license = package['license']
  10. s.author = package['author']
  11. s.source = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }
  12. s.platform = :ios, '9.0'
  13. s.ios.deployment_target = '8.0'
  14. s.dependency 'React'
  15. s.preserve_paths = 'docs', 'CHANGELOG.md', 'LICENSE', 'package.json', 'ReactNativePermissions.ios.js'
  16. s.source_files = '**/*.{h,m}'
  17. end