-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Admob plugin not ready" #48
Comments
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 below is a screenshot: is there something i am missing? |
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 this one is the image of the function calling the banner ads while this one is the image of the custom.js file where i call the initAd() |
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 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 checked if the app recognizes the plugin, it does but no ads displaying at all here is the link to the newly opened issue |
Hi, i am getting this alert from the plugin, that the plugin is not ready
AndriodManifest.xml:
`
index.js:
I would appreciate any assistance or idea on how to tackle this issue
The text was updated successfully, but these errors were encountered: