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