Setup

Miquel Martín edited this page Apr 29, 2016 · 3 revisions

To install this plugin with Cordova CLI (Command-line Interface), use one of the following command lines:

  • cordova plugin add cordova-admob
  • cordova plugin add https://github.com/appfeel/admob-google-cordova.git

If you are using the Phonegap CLI, you should use one of the following command lines:

  • phonegap local plugin add cordova-admob
  • phonegap local plugin add https://github.com/appfeel/admob-google-cordova.git

To use in Phonegap Build, place the following tag in your config.xml file:

<gap:plugin name="phonegap-admob" source="npm"/>

To use with Ionic Framework, use one of the following command lines:

  • ionic plugin add cordova-admob
  • ionic plugin add https://github.com/appfeel/admob-google-cordova.git