Hello everyone
I did a simple app to test admob plugin, but it doesn't work. I tried everything, using Intel XDK, PhoneGap,Cocoon, but "On banner ad received" and "On interstitial received" never triggers. After some tests I got an error report using Intel XDK emulator that says
UNHANDLED EXEC CALL
There is no handler for the following exec call AdMobPlugin.setUp
I think this is caused by C2 action "Preload banner ad", maybe is this the problem? I'm expert in C2 and there are no error in the code, and BannerID is correct.
Can you help me?
SOLVED:
I tried adding different plugins, finally I found the correct one!
Here are the procedure:
1) In Google AdMob I created a banner and interstitial. I took their ID (app ID is not necessary)
2) In C2 I've imported AdMob plugin and setted banner and interstitial ID
3) Exported using cordova
4)Deleted config.xml
5)Using cocoon.io, I've uploaded my app in .zip
6)Added plugin cocoon-plugin-ads-android-admob and cordova-plugin-ad-admob
(I think the last one is the correct plugin, but I prefer to keep the first too)
7)Built the app for android and installed in my phone
hi can you please tell me how to add cordova-plugin-ad-admob to cocoon ? and how to set events of admob plugin in construct2 ? and thank you