abdulmueid / cordova-admob-plugin

Admob plugin for Cordova, using Google Play Framework
MIT License
3 stars 1 forks source link

Please document. #1

Closed BusseDesign closed 10 years ago

BusseDesign commented 10 years ago

Please document this plugin.

abdulmueid commented 10 years ago

I will work on proper Readme over the weekend. In the meanwhile, copy google play services library into cordova android project folder, reference it in the project (http://developer.android.com/tools/projects/projects-cmdline.html#ReferencingLibraryProject), install this plugin and call:

Admob.initAd(adID) to initialize with your project id. adID is the one from admob, Admob.showAd() to show ad, Admob.hideAd() to hide ad.

Supports Smart banner only right now. The code is simple enough to change to other types.

Good luck

lordcatalien commented 10 years ago

Hi Abdul,

Would you mind posting a test project as an example. I'd like to see if this is compliant with the new IDFA-related rejection policies. The biggest problem i'm having with the floatinghotpot plugin is it doesn't provide support for iOS7+ statusbar positioning. If your plugin tackles this, it will likely become the definitive choice for cordova developers. Thanks

abdulmueid commented 10 years ago

At the moment this plugin is working with Android only. I am not developing for iOS yet so not sure if I will be able to work on it. However, great idea regarding a test project. I will take that into consideration. If this plugin is that badly needed, I am sure we can all work together to make something useful.

abdulmueid commented 10 years ago

README updated.