capacitor-community / admob

Community plugin for using Google AdMob
MIT License
218 stars 68 forks source link

Conflict with capacitor firebase dependencies #216

Closed juanmaldonadodev closed 1 year ago

juanmaldonadodev commented 1 year ago

Version 1.3.0 of https://github.com/capawesome-team/capacitor-firebase have updated GoogleAppMeasurement dependency

So when try to install both plugins. There is a dependency error.

Can we fix it?

[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
In Podfile:
CapacitorCommunityAdmob (from `../../node_modules/@capacitor-community/admob`) was resolved to 4.0.0, which depends on
Google-Mobile-Ads-SDK (= 9.7.0) was resolved to 9.7.0, which depends on
GoogleAppMeasurement (< 10.0, >= 7.0)

CapacitorFirebaseAnalytics/Analytics (from `../../node_modules/@capacitor-firebase/analytics`) was resolved to 1.3.0, which depends on
Firebase/Analytics (= 10.2.0) was resolved to 10.2.0, which depends on
Firebase/Core (= 10.2.0) was resolved to 10.2.0, which depends on
FirebaseAnalytics (~> 10.2.0) was resolved to 10.2.0, which depends on
FirebaseAnalytics/AdIdSupport (= 10.2.0) was resolved to 10.2.0, which depends on
GoogleAppMeasurement (= 10.2.0)
juanmaldonadodev commented 1 year ago

You can see the problem in this repo https://github.com/juanico18/conflict_dependencies23 by run npx cap sync or pod install.

robingenz commented 1 year ago

@juanico18 I created a PR: #221

juanmaldonadodev commented 1 year ago

@robingenz Thanks, I will review when it is merged