mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
[v6] Implement Dynamic Links (#2103)
(coverage + tests to follow in another PR)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
require 'json'
|
||||
package = JSON.parse(File.read('../package.json'))
|
||||
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "RNFB_Template_"
|
||||
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
||||
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/invertaseio'
|
||||
s.platform = :ios, "10.0"
|
||||
s.ios.deployment_target = "9.0"
|
||||
s.source_files = 'ios/**/*.{h,m}'
|
||||
s.dependency 'React'
|
||||
s.dependency 'Firebase/Core', '~> 5.20.2'
|
||||
|
||||
22
scripts/_TEMPLATE_/ios/RNFB_Template_.podspec
Normal file
22
scripts/_TEMPLATE_/ios/RNFB_Template_.podspec
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'json'
|
||||
package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "RNFB_Template_"
|
||||
s.version = package["version"]
|
||||
s.description = package["description"]
|
||||
s.summary = <<-DESC
|
||||
A well tested feature rich Firebase implementation for React Native, supporting iOS & Android.
|
||||
DESC
|
||||
s.homepage = "http://invertase.io/oss/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/invertaseio'
|
||||
s.ios.deployment_target = "9.0"
|
||||
s.source_files = 'RNFB_Template_/**/*.{h,m}'
|
||||
s.dependency 'React'
|
||||
s.dependency 'Firebase/Core', '~> 5.20.2'
|
||||
s.dependency 'RNFBApp'
|
||||
s.static_framework = true
|
||||
end
|
||||
@@ -22,7 +22,7 @@
|
||||
"_template_"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"@react-native-firebase/app": "_VERSION_"
|
||||
"@react-native-firebase/app": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-firebase/app-types": "_VERSION_",
|
||||
|
||||
Reference in New Issue
Block a user