Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Google Mobile Ads inside Google Play Services support - Xamarin.Android

$
0
0

I want to start displaying Admob adds inside my cross-platform Xamarin application.

For the iOS version of it we are going to use the next component: http://components.xamarin.com/view/googleadmob (which is iOS only platform-specific)

But for the Android version, I've just read that google released a new Google Play Services 4.0 library which includes most of used Ads features:

So I am with some doubts:

  • Does the Google Play Services v13 component support Google Mobile Ads?
  • If no, is there any release date for a Google Play Services component update?
  • Should I ignore the new Google Play Services features and start using the older APIs as described here: http://docs.xamarin.com/samples/AdMob/ ?

My application requires Android API level 15 and newer.


Until now I have just tested the Google Play Services v12 component but after editing the manifest file I ended with the next error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

AndroidManifest.xml:

<!-- Google Play Services Ads -->
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

May some of you points me the right direction?

Thanks in advance.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>