nikitz
nikitz

Reputation: 1091

AdMob plugin add to cordova returns error

I'm trying to add the AdMob plugin for cordova in my ionic project but I'm getting the following error:

Error: Registry returned 404 for GET on https://registry.npmjs.org/com.rjfun.cordova.plugin.admob

The comand I use is:

cordova plugin add com.rjfun.cordova.plugin.admob

Any ideas why this happens?

Upvotes: 1

Views: 1007

Answers (2)

Miquel
Miquel

Reputation: 8959

You can try with

cordova plugin add cordova-admob

See instructions in this repo

Upvotes: 2

Kishore Vaishnav
Kishore Vaishnav

Reputation: 510

You can try this

cordova plugin add https://github.com/floatinghotpot/cordova-plugin-admob

Read More

Upvotes: 0

Related Questions