Skip to content

Commit

Permalink
since 5.10.2018 new version of google admobs require extra things in …
Browse files Browse the repository at this point in the history
…AndroidManifest.xml, 16.0.0 is the last compatible version
  • Loading branch information
slaszu authored Oct 14, 2018
1 parent f2e7fb7 commit 05e1dbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
<source-file src="src/android/AdMobPlugin.java" target-dir="src/com/rjfun/cordova/admob" />

<!-- cordova CLI using gradle and it working well -->
<framework src="com.google.android.gms:play-services-ads:+" />
<!-- since 5.10.2018 new version of google admobs require extra things in AndroidManifest.xml, 16.0.0 is the last compatible version -->
<!-- https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml -->
<framework src="com.google.android.gms:play-services-ads:16.0.0" />
<!-- but unfortunately, build.phonegap.com, Intel XDK, and some other tools still use ant -->
<!-- dependency id="cordova-plugin-googleplayservices"/ -->
</platform>
Expand Down

1 comment on commit 05e1dbc

@cepengking
Copy link

@cepengking cepengking commented on 05e1dbc Nov 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to build phonegap in config.xml. compile error fetching admob pro

Please sign in to comment.