Closed chinyart closed 5 years ago
I would try put an interstitial add id in there as well.
okay.....let me give that a try....thanks
i have added the interstitial id to the app i am still getting the message "Admob plugin is not ready"
below is a screenshot: https://nedumstudios.com/vghdhfufdygifydgkh_images/admob.png
is there something i am missing? This app is not yet on google play though, could that be the reason for the message?
Where is initAd() being called? You have to call it after the cordovaready event.
Below are snapshots of my html and js code:
this one is the arrangement of my libraries cordova.js is above a file custom.js where i kept the function and called initAd() https://nedumstudios.com/vghdhfufdygifydgkh_images/bug4.PNG
this one is the image of the function calling the banner ads https://nedumstudios.com/vghdhfufdygifydgkh_images/bug5.PNG
while this one is the image of the custom.js file where i call the initAd() https://nedumstudios.com/vghdhfufdygifydgkh_images/custom.PNG
Initad() needs to be called when the document is ready, and not before. That is why it's failing.
Hi @sunnycupertino i called the initAd() after document is ready not before below is the link with the updated screenshot
https://nedumstudios.com/vghdhfufdygifydgkh_images/custom.PNG
i would appreciate if you would help resolve this issue.
I'm sorry it's not up to us to debug your code. But at a glance it looks odd what you have done. You have multiple document ready calls, and even functions defined within functions, all if this is out of the ordinary and I have no idea how this kind of thing will behave.
yeah i noticed that too, got that fixed though i opened a new issue, that is the latest bug/issue i am facing, i got everything in place
checked if the app recognizes the plugin, it does but no ads displaying at all
here is the link to the newly opened issue https://github.com/sunnycupertino/cordova-plugin-admob-simple/issues/50
Hi, i am getting this alert from the plugin, that the plugin is not ready AndriodManifest.xml: ` <?xml version='1.0' encoding='utf-8'?>
`
index.js:
I would appreciate any assistance or idea on how to tackle this issue