ReactNativePermissions.podspec 766B

12345678910111213141516171819202122
  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, '8.0'
  13. s.dependency 'React'
  14. s.preserve_paths = 'docs', 'CHANGELOG.md', 'LICENSE', 'package.json', 'ReactNativePermissions.ios.js'
  15. s.source_files = '*.{h,m}'
  16. end