Skip to content

Commit f81ae5b

Browse files
itinancechristopherdro
authored andcommitted
Support for CocoaPods added (christopherdro#66)
1 parent 912a99c commit f81ae5b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

react-native-print.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'json'
2+
pjson = JSON.parse(File.read('package.json'))
3+
4+
Pod::Spec.new do |s|
5+
6+
s.name = pjson["name"]
7+
s.version = pjson["version"]
8+
s.homepage = "https://github.com/christopherdro/react-native-print"
9+
s.summary = pjson["description"]
10+
s.license = pjson["license"]
11+
s.author = { "Christopher Dro" => "casheghian@gmail.com" }
12+
13+
s.source = { :git => "https://github.com/christopherdro/react-native-print", :tag => "v#{s.version}" }
14+
s.source_files = 'ios/**/*.{h,m}'
15+
16+
s.dependency 'React'
17+
18+
end

0 commit comments

Comments
 (0)