Skip to content

Commit cf32233

Browse files
ricsamzxcpoiu
authored andcommitted
Add podspec file (#23)
* Add podspec * bump version
1 parent 20a9719 commit cf32233

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

RNVoipPushNotification.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
require 'json'
3+
4+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
5+
6+
Pod::Spec.new do |s|
7+
s.name = "RNVoipPushNotification"
8+
s.version = package['version']
9+
s.summary = package['description']
10+
s.homepage = package['homepage']
11+
s.license = package['license']
12+
s.author = package['author']
13+
s.source = { :git => package['repository']['url'], :tag => "v#{s.version}" }
14+
s.requires_arc = true
15+
s.platform = :ios, "8.0"
16+
s.source_files = "ios/RNVoipPushNotification/*.{h,m}"
17+
s.dependency 'React/Core'
18+
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-voip-push-notification",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "VoIP push notification on react-native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)