forked from datso/react-native-pjsip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request datso#201 from mariouzae/master
Added Podspec file to support RN 0.60+
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
"name": "Vadim Ruban", | ||
"email": "[email protected]" | ||
}, | ||
"license": "GPL-3.0", | ||
"bugs": { | ||
"url": "https://github.com/datso/react-native-pjsip/issues" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |