admob-plus / admob-plus

Trustable AdMob Plugin for Cordova, Capacitor, Ionic, React Native
https://admob-plus.github.io
MIT License
360 stars 150 forks source link

CocoaPods is conflicting when installed cordova-plugin-consent #624

Closed DesignerApparelSales closed 6 months ago

DesignerApparelSales commented 7 months ago

CocoaPods is conflicting when installed cordova-plugin-consent and admob-plus together. Its seem like they are using different version of CocoaPods. I get this error, UserError: [!] CocoaPods could not find compatible versions for pod "GoogleUserMessagingPlatform": In snapshot (Podfile.lock): GoogleUserMessagingPlatform (= 2.1.0, >= 1.1)

EYALIN commented 7 months ago

@DesignerApparelSales did you try my forked plugin ? https://github.com/EYALIN/community-admob-plus/tree/master/packages/cordova

think it will solve your issue

DesignerApparelSales commented 6 months ago

I have fixed the issue. I rearranged my plugin build order. So i placed the, plugin name=“cordova-plugin-consent” source=“npm”, before ,plugin name=“admob-plus-cordova” source=“npm” , in the config.xml and there was no error.