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

Commit 3fe9779

Browse files
authored
Merge pull request #9 from izabelajelonek/master
Add podspec
2 parents 9f9e098 + 61b82be commit 3fe9779

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎react-native-proximity.podspec

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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.description = package['description']
10+
s.license = package['license']
11+
s.author = package['author']
12+
s.homepage = package['homepage']
13+
s.source = { :git => package['repository']['url'], :tag => s.version }
14+
15+
s.requires_arc = true
16+
s.platform = :ios, '8.0'
17+
18+
s.preserve_paths = 'README.md', 'package.json', 'index.js'
19+
s.source_files = 'RNProximity/RNProximity/*.{h,m}'
20+
21+
s.dependency 'React'
22+
end

0 commit comments

Comments
 (0)