Open EdL opened 9 years ago
You're right in saying that ngCordova should use the admob-pro plugin, will be added and corrected soon.
For now you can find it here https://github.com/Dharmoslap/ng-cordova, I will prepare a Pull Request very soon.
Did you made your pull request?
It is already there http://ngcordova.com/docs/plugins/adMob/.
Hi @Dharmoslap, @pbernasconi, I was just wondering if there are still plan to update the ngCordova plugin to use the floatinghotpot admob-pro version?
Thanks
to use the plugin com.google.cordova.admob
you want $cordovaGoogleAds
on the otherhand, to use com.rjfun.cordova.plugin.admob
you want $cordovaAdMob
.
Here is a PR to update the docs
Hi @pmn4 Thanks for pointing this out - I hadn't spotted the $cordovaGoogleAds code and it's been there for the past few months! Thanks for updating the docs. Hopefully it will clarify things for others!
+1 for update the documentation please!
window.plugins is deprecated...
I can see that it is listed in the ngCordova docs, and there has been some code added for it in the repo. However, the plugin and link in the ngCordova docs are for floatinghotpot/cordova-admob-pro but the code that has been added in the repo here looks like it is for his older plugin floatinghotpot/cordova-plugin-admob. It would be great if the ngCordova wrapper could be updated for the newer cordova-admob-pro and corresponding docs/examples added.
Many thanks