Description

Requires GMS2 2.2.4 runtimes (or newer), otherwise you will not be able to build any of these extensions!

Using this Google Play Services asset, you can implement a wide range of Google services in one go:

  • Signing in/out of Google Play accounts, Achievements and Leaderboards (Google Play Friends and Public), and Cloud Saving all using the Google Ply Services extension
  • Ads, including GDPR consent dialog support, using Google Mobile Ads (AKA AdMob)
  • Consumable, Durable and Subscription IAPs using Google Play Billing
  • Protect your game from authorised distribution using Google Play Licensing
  • Support much larger game install sizes by having your game resources in a separate .zip file and downloaded at first run time via Google APK Expansion

If you do not require support for any of the add-on extensions in your game, simply don't select those extensions when importing this asset (or you can just delete the extensions out of your project afterwards if you Import All). However, be aware none of the add-on extensions will work if you don't import the base Google Play Services one.

There are mini-manuals for this functionality as Included Files in the asset.

NOTES:

1) To be able to build a project with the Google Play Services Extension, you'll need Android Studio and the newer AndroidX support library. Please see our https://help.yoyogames.com/hc/en-us/articles/227860547-GMS2-Required-SDKs FAQ for more info.

2) For logging into Google Play, make sure that you're targeting your own Google Services ID in Game Options > Android > Social. You may also need to upload an APK to Google Play Console before you'll be able to log in to Google Play on your app. When signing into your game via Google Play Services, you must be using an executable that has been signed in the project with the same keystore as the one initially provided to the Google Play Console, otherwise login attempts will be rejected and will return -1.

3) To test Achievements and Leaderboards, you'll need to create your own game on the Google Play Console and create achievements and leaderboards for it.

4) To test IAPs, you'll need to create your own game on the Google Play Console and create the IAP products for your game on the web panel, then ensure your Google Licensing Public Key is set in Game Options > Android > Packaging, implement your initial IAP code, and then also upload an .apk to Google.

5) To test licensing, you'll need to create your own game on the Google Play Console and enable the use of Google Licensing, then ensure your Google Licensing Public Key is set in Game Options > Android > Packaging (same values you may have already done for IAPs), and then also upload an .apk to Google.

More info

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 3.1.9. Published October 17, 2019

!!! You need GMS2 2.2.4 or above in order to build this extension successfully

  • All named extensions are definitely now in the package
  • Also fixed "0031424: Google Service Extension: XCode fails builds for x86 emulator architecture", so you can now build projects containing this extension if you're targeting an emulator. (Please make sure you do test properly on a real device before you submit anything to Apple...)
Privacy Policy
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top