DEV Community

Discussion on: How To Do Analytics in Your React Native App with Firebase

Collapse
 
sk92129 profile image
sk92129

Adding the react native component:
yarn add @react-native-firebase/app
generates a bunch of incompatibility errors with the various pods.
I am using Xcode12beta4. I am newbie to firebase.

[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In snapshot (Podfile.lock):
Firebase/CoreOnly (= 6.30.0)

In Podfile:
RNFBApp (from ../node_modules/@react-native-firebase/app) was resolved to 8.3.1, which depends on
Firebase/CoreOnly (~> 6.28.1)

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • changed the constraints of dependency Firebase/CoreOnly inside your development pod RNFBApp. You should run pod update Firebase/CoreOnly to apply changes you've made.