The plugin allows you to display a banner from AdWhirl ad network in your Cordova app.
Copy AdWhirl.h
and AdWhirl.m
into Cordova-iOS application folder and add this to Cordova.plist
Plugins key:
<key>AdWhirl</key>
<string>AdWhirl</string>
Add dependency into app.json
:
"path": "AdWhirl.js"
Note that you need to install AdWhirl SDK as well.
The plugin basically resizes UIWebView (in which the Cordova app is running) and inserts AdWhirl banner view.
AdWhirl.show // shows banner
AdWhirl.hide // hides banner
Copyright (c) 2013 David Hrachovy