Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Conflict with newer RNFB SDK version #15

Closed
kashmiry opened this issue Aug 18, 2021 · 4 comments
Closed

Conflict with newer RNFB SDK version #15

kashmiry opened this issue Aug 18, 2021 · 4 comments

Comments

@kashmiry
Copy link

I am having a conflict when updating my pods with react-native-firebase version "12.6.1"
The error I get is:

CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
  In Podfile:
    Google-Mobile-Ads-SDK (~> 8.0.0) was resolved to 8.0.0, which depends on
      GoogleAppMeasurement (~> 7.0)

    RNFBAnalytics (from `../node_modules/@react-native-firebase/analytics`) was resolved to 12.6.1, which depends on
      Firebase/Analytics (= 8.5.0) was resolved to 8.5.0, which depends on
        Firebase/Core (= 8.5.0) was resolved to 8.5.0, which depends on
          FirebaseAnalytics (~> 8.5.0) was resolved to 8.5.0, which depends on
            FirebaseAnalytics/AdIdSupport (= 8.5.0) was resolved to 8.5.0, which depends on
              GoogleAppMeasurement (= 8.5.0)

Can this be fixed?

Thank you for creating and maintaining this package much love 🙏🏼
Would be helpful too to include a change log for the new releases.

@wjaykim
Copy link
Collaborator

wjaykim commented Aug 18, 2021

Sorry, I'll update installation guide. Change your GMA SDK's version from ~> 8.0.0 to ~> 8.0 in your Podfile like this: 'Google-Mobile-Ads-SDK', '~> 8.0'
Also thank you for your feedback. I'll come up with changelog from next version.

@kashmiry
Copy link
Author

I made the change, but I still get a conflict.

[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
  In Podfile:
    Google-Mobile-Ads-SDK (~> 8.0) was resolved to 8.0.0, which depends on
      GoogleAppMeasurement (~> 7.0)

    RNFBAnalytics (from `../node_modules/@react-native-firebase/analytics`) was resolved to 12.6.1, which depends on
      Firebase/Analytics (= 8.5.0) was resolved to 8.5.0, which depends on
        Firebase/Core (= 8.5.0) was resolved to 8.5.0, which depends on
          FirebaseAnalytics (~> 8.5.0) was resolved to 8.5.0, which depends on
            FirebaseAnalytics/AdIdSupport (= 8.5.0) was resolved to 8.5.0, which depends on
              GoogleAppMeasurement (= 8.5.0)

@wjaykim
Copy link
Collaborator

wjaykim commented Aug 18, 2021

Would you try run pod update?

@kashmiry
Copy link
Author

Yes that solved it. Thanks 🙏🏼

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants