Skip to content

Commit

Permalink
Merge pull request #29 from swcisel/master
Browse files Browse the repository at this point in the history
modifies podspec for compatibility with react-native link
  • Loading branch information
RoJoHub authored Apr 6, 2019
2 parents 793627c + 5b06070 commit ba770d7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
24 changes: 0 additions & 24 deletions ios/RNReactNativePing.podspec

This file was deleted.

16 changes: 16 additions & 0 deletions react-native-ping.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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.homepage = "https://github.com/RoJoHub/react-native-ping"
s.license = package['license']
s.author = package['author']
s.source = { :git => "https://github.com/RoJoHub/react-native-ping", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m}"
s.ios.deployment_target = '8.0'
s.dependency 'React'
end

0 comments on commit ba770d7

Please sign in to comment.