-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathfirestack.podspec
More file actions
63 lines (51 loc) · 2.14 KB
/
firestack.podspec
File metadata and controls
63 lines (51 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
require 'json'
package = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
# s.name = 'react-native-firestack'
s.name = 'Firestack'
s.version = package['version']
s.homepage = "https://github.com/fullstackreact/react-native-firestack"
s.summary = "A Firebase v3 implementation for react-native"
# s.license = { :type => package['license'], :file => 'LICENSE' },
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = package['author']
s.platform = :ios, "8.0"
s.source = { :git => package['repository']['url'], :tag => 'master' }
# s.source = { :git => 'https://github.com/fullstackreact/react-native-firestack.git', :tag => s.version.to_s }
s.source_files = 'ios/**/*.{h,m}'
s.public_header_files = 'ios/**/*.h'
s.preserve_paths = "**/*.js"
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
Make it easy to work with the new Firebase and React-Native.
Currently, this is best installed through npm:
npm install --save react-native-firestack
DESC
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.social_media_url = 'https://twitter.com/fullstackreact'
s.ios.deployment_target = '8.0'
# s.source_files = 'ios/Classes/**/*'
# s.resource_bundles = {
# 'react-native-firestack' => ['react-native-firestack/Assets/*.png']
# }
s.frameworks = 'UIKit'
# s.dependency 'AFNetworking', '~> 2.3'
# s.dependency 'React/Core'
# s.libraries = 'stdc++'
[ 'Firebase/Core',
'Firebase/Analytics',
'Firebase/Auth',
'Firebase/Database',
'Firebase/Storage'
].each do |lib|
s.dependency lib
end
s.subspec 'Core' do |ss|
## Don't install Firebase, i.e.:
# pod 'react-native-firestack/Core'
end
end