# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

# Need to explicitly declare this avoid downgrade
# https://github.com/evollu/react-native-fcm/issues/420
#pod 'Firebase/Core', '4.0.0'

# react-native-fcm should support FB 4, but latest breaks builds, hence older version
# TODO(oskarth): Awaiting RN 0.47 upgrade, and/or PN working on iOS device before deciding which version to use
#pod 'Firebase/Messaging'
#pod 'Firebase/Messaging', '3.17.0'

target 'StatusIm' do
  platform :ios, '8.0'
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for StatusIm
  pod 'FirebaseMessaging'

  pod 'React', :path => '../node_modules/react-native'
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
  pod 'RNKeychain', :path => '../node_modules/react-native-keychain'

  target 'StatusImTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end