2017-05-01 15:01:00 +00:00
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
# Uncomment this line to define a global platform for your project
|
2017-05-25 09:39:54 +00:00
|
|
|
# platform :ios, '8.0'
|
2017-05-01 15:01:00 +00:00
|
|
|
|
|
|
|
target 'ReactNativeFirebaseDemo' do
|
2017-12-15 15:14:05 +00:00
|
|
|
platform :ios, '9.0'
|
2017-05-01 15:01:00 +00:00
|
|
|
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
|
|
|
|
# use_frameworks!
|
|
|
|
|
2017-05-09 12:53:05 +00:00
|
|
|
react_native_path = "../node_modules/react-native"
|
2017-10-03 13:09:09 +00:00
|
|
|
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
|
2017-05-01 15:01:00 +00:00
|
|
|
|
2017-05-09 12:53:05 +00:00
|
|
|
# Pods for ReactNativeFirebaseDemo
|
2017-10-03 13:09:09 +00:00
|
|
|
pod 'React', :path => '../node_modules/react-native', :subspecs => [
|
|
|
|
'Core',
|
|
|
|
'BatchedBridge',
|
|
|
|
'RCTText',
|
|
|
|
'RCTNetwork',
|
|
|
|
'RCTWebSocket',
|
|
|
|
]
|
2017-05-12 11:05:07 +00:00
|
|
|
|
2017-06-05 16:00:59 +00:00
|
|
|
pod 'Firebase/AdMob'
|
2017-05-01 15:01:00 +00:00
|
|
|
pod 'Firebase/Auth'
|
|
|
|
pod 'Firebase/Core'
|
|
|
|
pod 'Firebase/Crash'
|
|
|
|
pod 'Firebase/Database'
|
|
|
|
pod 'Firebase/DynamicLinks'
|
2017-10-03 16:23:28 +00:00
|
|
|
pod 'Firebase/Firestore'
|
2017-05-01 15:01:00 +00:00
|
|
|
pod 'Firebase/Messaging'
|
|
|
|
pod 'Firebase/RemoteConfig'
|
|
|
|
pod 'Firebase/Storage'
|
2017-05-25 09:39:54 +00:00
|
|
|
pod 'Firebase/Performance'
|
2018-03-08 10:04:53 +00:00
|
|
|
pod 'Fabric', '~> 1.7.5'
|
|
|
|
pod 'Crashlytics', '~> 3.10.1'
|
2017-05-01 16:19:27 +00:00
|
|
|
|
2017-12-15 15:14:05 +00:00
|
|
|
pod 'RNFirebase', :path => '../../ios/RNFirebase.podspec'
|
2017-10-03 13:09:09 +00:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
if target.name == "React"
|
|
|
|
target.remove_from_project
|
|
|
|
end
|
2018-01-16 17:08:44 +00:00
|
|
|
if target.name == 'yoga'
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'NO'
|
|
|
|
config.build_settings['GCC_WARN_64_TO_32_BIT_CONVERSION'] = 'NO'
|
|
|
|
end
|
|
|
|
end
|
2017-10-03 13:09:09 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-01 15:01:00 +00:00
|
|
|
end
|