Skip to content

Commit ba770d7

Browse files
authored
Merge pull request #29 from swcisel/master
modifies podspec for compatibility with react-native link
2 parents 793627c + 5b06070 commit ba770d7

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

ios/RNReactNativePing.podspec

Lines changed: 0 additions & 24 deletions
This file was deleted.

react-native-ping.podspec

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

0 commit comments

Comments
 (0)