Skip to content

Commit

Permalink
Merge pull request datso#201 from mariouzae/master
Browse files Browse the repository at this point in the history
Added Podspec file to support RN 0.60+
  • Loading branch information
datso committed Apr 3, 2020
2 parents 94b25b2 + 1ccd570 commit 4abd7c3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"name": "Vadim Ruban",
"email": "[email protected]"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/datso/react-native-pjsip/issues"
},
Expand Down
20 changes: 20 additions & 0 deletions react-native-pjsip.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/datso/react-native-pjsip.git" }
s.source_files = "ios/**/*.{h,m}"

s.dependency 'React'
s.vendored_frameworks = 'ios/VialerPJSIP.framework'
end

0 comments on commit 4abd7c3

Please sign in to comment.