ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
498 stars 212 forks source link

ADMOB_APP_ID must be added to the AndroidManifest.xml???? #304

Open DesignerApparelSales opened 5 years ago

DesignerApparelSales commented 5 years ago

Hi, I have been using <plugin name="cordova-plugin-admob-free" spec="0.17.0" source="npm" /> to install the plugin and it work just fine. Do I still need to add my admob ID into AndroidManifest.xml? if yes, can I install it by using this in my config.xml:

`

</plugin>`

instead of using cli: cordova plugin add cordova-plugin-admob-free --save --variable ADMOB_APP_ID="<YOUR_ADMOB_APP_ID_AS_FOUND_IN_ADMOB>"

mm44 commented 5 years ago

I think only 0.21.0 supports variable parameter, not sure...

Use this instead in config.xml :

`

`

DesignerApparelSales commented 5 years ago

ok, i'll put it in anyway, just incase , thanks!