UNPKG

609 BPlain TextView Raw
1require 'json'
2
3package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
5Pod::Spec.new do |s|
6 s.name = "react-native-netinfo"
7 s.version = package['version']
8 s.summary = package['description']
9 s.license = package['license']
10
11 s.authors = package['author']
12 s.homepage = package['homepage']
13 s.platforms = { :ios => "9.0", :tvos => "9.2", :osx => "10.14" }
14
15 s.source = { :git => "https://github.com/react-native-community/react-native-netinfo.git", :tag => "v#{s.version}" }
16 s.source_files = "ios/**/*.{h,m}"
17
18 s.dependency 'React-Core'
19end