2017-02-14 16:02:54 +00:00
|
|
|
require 'json'
|
|
|
|
package = JSON.parse(File.read('package.json'))
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = "RNFirebase"
|
|
|
|
s.version = package["version"]
|
|
|
|
s.summary = package["description"]
|
|
|
|
s.description = <<-DESC
|
|
|
|
Wanna integrate firebase into your app using React Native?
|
|
|
|
DESC
|
|
|
|
s.homepage = "http://invertase.io"
|
|
|
|
s.license = package['license']
|
|
|
|
s.author = "Mike Diarmid"
|
|
|
|
s.source = { :git => "https://github.com/invertase/react-native-firebase.git", :tag => "v#{s.version}" }
|
2017-03-16 16:48:03 +00:00
|
|
|
s.social_media_url = 'http://twitter.com/mikediarmid'
|
2017-02-14 16:02:54 +00:00
|
|
|
s.platform = :ios, "8.0"
|
|
|
|
s.preserve_paths = 'README.md', 'package.json', '*.js'
|
|
|
|
s.source_files = 'ios/RNFirebase/*.{h,m}'
|
|
|
|
s.dependency 'React'
|
|
|
|
s.dependency 'Firebase/Auth'
|
|
|
|
s.dependency 'Firebase/Core'
|
|
|
|
s.dependency 'Firebase/Database'
|
|
|
|
s.dependency 'Firebase/Messaging'
|
|
|
|
s.dependency 'Firebase/RemoteConfig'
|
|
|
|
s.dependency 'Firebase/Storage'
|
|
|
|
end
|