Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
add podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
izabelajelonek committed Dec 20, 2017
1 parent 9f9e098 commit 61b82be
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions react-native-proximity.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.source = { :git => package['repository']['url'], :tag => s.version }

s.requires_arc = true
s.platform = :ios, '8.0'

s.preserve_paths = 'README.md', 'package.json', 'index.js'
s.source_files = 'RNProximity/RNProximity/*.{h,m}'

s.dependency 'React'
end

0 comments on commit 61b82be

Please sign in to comment.