No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Updates for .NET Foundation. Apr 27, 2016
ads-lite Bump XBD dependency to 0.4.9 Mar 13, 2018
ads Bump XBD dependency to 0.4.9 Mar 13, 2018
all Bump android support library version Oct 19, 2017
analytics-impl Bump XBD dependency to 0.4.9 Mar 13, 2018
analytics Bump XBD dependency to 0.4.9 Mar 13, 2018
appindexing Update nuget licenseUrl, projectUrl and copyright Dec 21, 2017
appinvite Bump XBD dependency to 0.4.9 Mar 13, 2018
art Added some artwork for sample assets Jun 21, 2016
auth-api-phone Bump XBD dependency to 0.4.9 Mar 13, 2018
auth-base Bump XBD dependency to 0.4.9 Mar 13, 2018
auth Bump XBD dependency to 0.4.9 Mar 13, 2018
awareness Bump XBD dependency to 0.4.9 Mar 13, 2018
base Bump XBD dependency to 0.4.9 Mar 13, 2018
basement Bump XBD dependency to 0.4.9 Mar 13, 2018
cast-framework Bump XBD dependency to 0.4.9 Mar 13, 2018
cast Bump XBD dependency to 0.4.9 Mar 13, 2018
clearcut/nuget Update nuget licenseUrl, projectUrl and copyright Dec 21, 2017
component Refactor licenses Sep 8, 2016
drive Bump XBD dependency to 0.4.9 Mar 13, 2018
fido Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-ads Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-analytics-impl Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-analytics Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-appindexing Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-auth Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-common Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-config Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-core/nuget Update nuget licenseUrl, projectUrl and copyright Dec 21, 2017
firebase-crash Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-database-connection Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-database Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-dynamic-links Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-firestore Fix reference to .jar for firestore Mar 14, 2018
firebase-iid Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-invites Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-messaging Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-perf Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-storage-common Bump XBD dependency to 0.4.9 Mar 13, 2018
firebase-storage Bump XBD dependency to 0.4.9 Mar 13, 2018
fitness Bump XBD dependency to 0.4.9 Mar 13, 2018
games Bump XBD dependency to 0.4.9 Mar 13, 2018
gass Bump XBD dependency to 0.4.9 Mar 13, 2018
gcm Bump XBD dependency to 0.4.9 Mar 13, 2018
icons New instantapps icon Oct 26, 2016
identity Bump XBD dependency to 0.4.9 Mar 13, 2018
iid Bump XBD dependency to 0.4.9 Mar 13, 2018
instantapps Bump XBD dependency to 0.4.9 Mar 13, 2018
location Bump XBD dependency to 0.4.9 Mar 13, 2018
maps Bump XBD dependency to 0.4.9 Mar 13, 2018
nearby Bump XBD dependency to 0.4.9 Mar 13, 2018
oss-licenses Bump XBD dependency to 0.4.9 Mar 13, 2018
panorama Bump XBD dependency to 0.4.9 Mar 13, 2018
places Bump XBD dependency to 0.4.9 Mar 13, 2018
plus Bump XBD dependency to 0.4.9 Mar 13, 2018
safetynet Bump XBD dependency to 0.4.9 Mar 13, 2018
tagmanager-api Bump XBD dependency to 0.4.9 Mar 13, 2018
tagmanager-v4-impl Bump XBD dependency to 0.4.9 Mar 13, 2018
tagmanager Bump XBD dependency to 0.4.9 Mar 13, 2018
tasks Bump XBD dependency to 0.4.9 Mar 13, 2018
tests Bump XBD dependency to 0.4.9 Mar 13, 2018
tools Revert cake module usage for now Dec 5, 2017
util Bump to 10.2.1 and wear 2.0.1 sdk versions Mar 28, 2017
vision-common Bump XBD dependency to 0.4.9 Mar 13, 2018
vision Bump XBD dependency to 0.4.9 Mar 13, 2018
wallet Bump XBD dependency to 0.4.9 Mar 13, 2018
wearable Bump XBD dependency to 0.4.9 Mar 13, 2018
.gitignore Ignore more under ./tools Dec 8, 2017
GooglePlayServices.TypeForwarders.sln Added solution for type forwarders May 2, 2017
GooglePlayServices.sln Add Firestore bindings Oct 19, 2017
GpsConsts.cs Updated bindings for v10.0.0 Dec 1, 2016
LICENSE.md Refactor licenses Sep 8, 2016
Metadata.Common.xml Metadata fixups to make IParcelable sane Nov 8, 2017
README.md Updated build instructions and version table Dec 8, 2017
build.cake Reintroduce MD5 hash verification Jan 15, 2018
build.ps1 Switch to standard cake bootstrappers Dec 5, 2017
build.sh Switch to standard cake bootstrappers Dec 5, 2017
cake.config Switch to standard cake bootstrappers Dec 5, 2017
template.targets Reintroduce MD5 hash verification Jan 15, 2018
uitest.keystore Add uitest.keystore file for UITests to use for signing Nov 14, 2016

README.md

Xamarin Component for Google Play Services Client Library

Xamarin creates and maintains Xamarin.Android bindings for the Google Play Services Client Library, including:

  • Ads
  • Analytics
  • AppIndexing
  • AppInvite
  • AppState
  • Auth
  • Base
  • Basement
  • Cast
  • Drive
  • Fitness
  • Games
  • GCM
  • Identity
  • Location
  • Maps
  • Measurement
  • Nearby
  • Panorama
  • Plus
  • SafetyNet
  • Support Wearable
  • Vision
  • Wallet
  • Wearable

Building

The build script for this project uses Cake. To run the build, you can use one of the bootstrapper files either for Mac or Windows (experimental support only):

Mac:

sh build.sh --target=libs

Windows (experimental support only):

NOTE: Windows build support is still experimental. You need to first build the externals target, then open the GooglePlayServices.sln in Visual Studio, rebuild it, build the clean target, and then continue on normally building whichever targets you like. This will ensure the appropriate files are downloaded and cached in your user's AppData folder.

powershell .\build.ps1 -Target externals
powershell .\build.ps1 -Target libs

The bootstrapper script will automatically download Cake.exe and all the required tools and files into the ./tools/ folder.

The following targets can be specified:

  • ci builds the kitchen sink - what we run in CI
  • libs builds the class library bindings (depends on externals)
  • externals downloads the external dependencies
  • samples builds all of the samples (depends on libs)
  • nuget builds the nuget packages (depends on libs)
  • component builds the xamarin components (depends on samples and nuget)
  • clean cleans up everything

NOTE: The externals build task may take awhile to run as it downloads several large dependencies.

You may want to consider passing --verbosity diagnostic (or -Verbosity diagnostic on Windows) to the bootstrapper to enable more verbose output, including downloading progress.

Working in Visual Studio / Xamarin Studio

Before the .sln files will compile in Visual Studio or Xamarin Studio, the external dependencies need to be downloaded. This can be done by running the build.sh or build.ps1 with the target externals. After the externals are setup, the .sln files should compile in an IDE.

Versioning

Historically, Component and later NuGet package versions were based on the revision number of the Google Play Services SDK from the SDK Manager, and later based on the Google Play Services Maven Repository (m2repository) version from the SDK Manager. Because of this, the versions of the components and NuGet packages do not match the version strings of Google Play Services releases from Google. Here is a table which shows a translation of versions mapped to Google's version strings:

NuGet / Component Version Google m2repository Version Google Play Services Version
25.0 19 (GPS SDK 25) 7.5.0
26.0 21 (GPS SDK 26) 7.8.0
27.0 22 (GPS SDK 27) 8.1.0
29.0 24 (GPS SDK 29) 8.4.0
25 8.4.0 (no binary changes)
26 9.0.0
30.0.1.alpha4 27 (GPS SDK 30) 9.0.1
30.0.2-alpha1 28 9.0.2
29 9.2.0
30 (never published)
31 9.2.1
32.4.0-beta2 32 9.4.0
32.961.0 32 9.6.1
42.1001.0 42 10.0.1
42.1021.0 n/a 10.2.1
42.1021.1 n/a 10.2.1
60.1142.0 n/a 11.4.2

License

The license for this repository is specified in LICENSE.md

The externals build task downloads some external dependencies from Google which are licensed under and subject to the terms of Android Software Development Kit License Agreement

Contribution Guidelines

The Contribution Guidelines for this repository are listed in CONTRIBUTING.md

.NET Foundation

This project is part of the .NET Foundation