- Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathRNPDF.podspec
More file actions
Latest commit
22 lines (16 loc) · 660 Bytes
/
Copy pathRNPDF.podspec
File metadata and controls
22 lines (16 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require'json'
package=JSON.parse(File.read(File.join(__dir__,'package.json')))
Pod::Spec.newdo |s|
s.name='RNPDF'
s.version=package['version'].gsub(/v|-beta/,'')
s.summary=package['description']
s.author=package['author']
s.license=package['license']
s.homepage=package['homepage']
s.source={:git=>'https://github.com/rumax/react-native-PDFView.git',:tag=>"v#{s.version}"}
s.platform=:ios,'7.0'
s.preserve_paths='*.js'
s.dependency'React'
s.source_files='ReactNativeViewPDF/*.{h,m}'
s.public_header_files=['ReactNativeViewPDF/*.h']
end