Skip to content

Instantly share code, notes, and snippets.

@vovkasm
Created May 16, 2019 08:40
Show Gist options
  • Save vovkasm/637bb8a48bb5037d60b9e32f40e942c3 to your computer and use it in GitHub Desktop.
Save vovkasm/637bb8a48bb5037d60b9e32f40e942c3 to your computer and use it in GitHub Desktop.
patched podspec for RNFirebase
# ios/podspecs/RNFirebase.podspec
require 'json'
package = JSON.parse(File.read(File.join(__dir__, '../../node_modules/react-native-firebase/package.json')))
Pod::Spec.new do |s|
s.name = "RNFirebase"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
A well tested feature rich Firebase implementation for React Native, supporting iOS & Android.
DESC
s.homepage = "http://invertase.io/react-native-firebase"
s.license = package['license']
s.authors = "Invertase Limited"
s.source = { :git => "https://github.com/invertase/react-native-firebase.git", :tag => "v#{s.version}" }
s.social_media_url = 'http://twitter.com/RNFirebase'
s.platform = :ios, "9.0"
s.source_files = 'ios/RNFirebase/**/*.{h,m}'
s.dependency 'React'
s.dependency 'Firebase/Core'
s.dependency 'Firebase/Messaging'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment