Software Archive
Read-only legacy content
17060 Discussions

several admob plugins not working on ios

Arjan_K_
Beginner
691 Views

 

Dear support,

When building for ios without admob plugins it succeeds but when using multiple admob plugins it fails.
 

cordova-plugin-admobpro floatinghotpot
* cordova-plugin-admob floatinghotpot
* admob-google-cordova appfeel

all of them not working on ios.

link to build log:

https://gist.github.com/arjankuijpers/d3323f43e50ba0499c86 

one of the buildlog files show: You may not have the required environment or OS to build this project
 is this relevant?

 

thanks in advance,
Arjan

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
691 Views

Arjun, you will have trouble using all of these admob plugins at the same time, they are conflicting with each other. You'll need to pick one and use it, not use all three together.

0 Kudos
Arjan_K_
Beginner
691 Views

I'm sorry I wasn't clear, I tried to use any of them.

Not at the same time.

I have also tried with a template blank Cordova app where I added one plugin at the time.

I never used multiple at the same time,

(haha that would not make Any sense)

 

 

0 Kudos
PaulF_IntelCorp
Employee
691 Views

What about the admob sample app? Try building that, to confirm whether it is a build issue or an app issue.

0 Kudos
Arjan_K_
Beginner
691 Views

well, I downloaded helloadmob example, this one builds succesfully.. i guess its because it is version 2.2.0 instead of 2.10.0 ?

I cannot download version 2.2.0 to my production project. when entering the cordova npm string (cordova-plugin-admob) I get the message that version 2.2.0 isnt found.

 

im still stuck with no working admob plugin.

0 Kudos
Arjan_K_
Beginner
691 Views

after inspecting helloadmob template, I found out that there was a difference between helloadmob plugin and my admobpro plugin I where trying to build.

Well it seems that in npm cordova-plugin-admob is just a reference to cordova-plugin-admobpro.. that plugin does NOT work at the moment (version 2.10.0)
In helloadmob I found other dependencies, so there is clearly a mismatch with versions.

after going to this repo: https://github.com/floatinghotpot/cordova-plugin-admob

I found out that it was version 2.2.0.
I downloaded this version through https git link directly from the gitrepo and it worked. My ios build with admob (version 2.2.0) works.

What is going on with all the differences in the plugin links, npm & git repo's is still unclear.
but anyway my ios build is working once again.

thanks for the help.

 

0 Kudos
Reply