In order to provide the best experience to players for Google Play Games, we require that your Google Play Games and mobile (Android) versions of your game provide a seamless cross-device experience using our new Google Play Games Services v2 SDK.
Here’s a summary of the requirements:
- Players on mobile (Android) and Google Play Games (on PC) are automatically signed in to Google Play Games Services within your game when possible, and their non-tutorial progress is linked to their Google Play Games Services Player ID. On other devices, the game automatically restores this progress when there are no conflicts with the local state.
- Please note that the user may be automatically signed into your game with Google Play Games Services, but not sign in with your existing identity system (e.g. guest accounts). In these cases, given the user is logged in with Google Play Games Services and has the expectation that their progress is being saved, you still must backup and restore the user’s progress. The only exception is when the user specifically understands that the guest mode is tied to a single device.
- Google Play Games Services v2 Sign-in must be used to satisfy this requirement. If you are currently using v1 Sign-in, we have guidance for migrating Java and Unity integrations.
- If your game has other Identity solutions , link the Google Play Games Services Player id to these solutions so that players don’t have to restore their credentials manually when using a new device.
- When there are conflicts on progress (a player signs in with Google Play Games Services and another identity platform), you should resolve it in a way your players can expect and understand. This could be asking the player which account they want to play with, preferring the local progress, or merging the progress.
We acknowledge that your existing Identity solutions have their own complexities, and we are flexible on edge cases that arise from identity collisions and resolution. In the end, the requirement is that players will automatically have their progress or state restored when switching between Android (including phones and tablets) and Google Play Games.
We recommend taking a look at this page for recommendations on how you could integrate Google Play Games Services with your existing identity system. For example, some games may choose to make a 1:1 connection between Google Play Games Services and their existing identity system (or as we refer to it in the page linked above, a binding solution). Other games may choose to associate a Google Play Games Services account with a number of user-associated accounts to restore state (or as we refer to it in the page linked above, a recall solution).
You can use the test cases on this page to evaluate your own solution against the requirements.
Here’s a checklist of our required and encouraged behaviors related to Google Play Games Services sign in on Google Play Games.
|1.1||Required||Sign players in with Google Play Games Services v2 Sign-in on
Android devices and Google Play Games.
Integrate the new Google Play Games Services v2 SDK with your Android and Google Play Games builds, and enable the Sign-in functionality within your game. Use the credentials from signed in players to power requirement 1.2.
Note that v1 Sign-in does not meet the requirement. If you use Google Play Games Services v1 currently in your game, you need to upgrade to v2. For more information about migrating your integration, see the Java and Unity guides.
|1.2||Required||Back up and restore player progress by the
Play Games Services Player ID.
This is not required when the user understands that the progress is tied to the local device and would be lost when going to another device or the progress is just within the tutorial.
To ensure players do not lose their progress when switching or resetting devices, or if they play on multiple devices, ensure their progress is backed up to a cloud save solution, and use the Play Games Services Player ID as a key, securely if using your own backend game server. When players sign in with Play Games Services, check whether progress exists for that account and if it does, allow the player to pick up where they left off. You can use your own cloud save solution or Play Games Services Saved Games
If the player is not signed in with Play Games Services, try to maintain the player's progress locally, then sync that progress when the player eventually signs in to Play Games Services. This helps to prevent losing any of the player's progress if the player postpones signing in to your game.
|1.3||Best Practice||Provide a sign-in button for signed-out players.
Players may opt out of using Play Games Services and therefore not automatically sign in to your game. By providing a sign-in button for signed out players, you allow players to change their mind and sign-in to Play Games Services as they get more invested in your game.
The sign-in button should be easy for players to find; for example, it should be accessible from your main screen or located in the Settings screen. This button should not be buried multiple levels deep in your game menu.
|1.4||Good-to-have||Follow Google branding guidelines.
To provide players with an end-to-end experience that is attractive and consistent, implement the Play Games Services branding guidelines.