Test and publish your game

To ensure that Google Play games services are functioning correctly in your application, you should test your Google Play games services before publishing your game changes on Google Play.

Enabling accounts for testing

If your game is in an unpublished state, you must allowlist the user accounts that you want to grant access for testing. Otherwise, your testers will encounter OAuth and 404 errors when attempting to access the Google Play games services endpoints such as sign-in.

There are two ways to enable testers to use PGS APIs for your game:

  • At an individual level, by adding individual email addresses.
  • At a group level, by enabling Play Games Services for a Play Console release track.

To add individual testers to your game project:

  1. Open the Testers tab for your game in the Google Play Console (Grow > Play Games Services > Setup and management > Testers).
  2. Click the Add testers button.
  3. In the dialog that appears, enter the email addresses of the Google Accounts that you wish to add as testers (separated with commas or one email address per line).
  4. Click Add to save the users as testers. The tester accounts you added should be able to access your Google Play games services within a couple of hours.

To give testing access to a group, enable a release track to access PGS:

Google Play makes it easy to distribute pre-release versions of your app to controlled groups of trusted users with the release track features. See here to learn more about testing with release tracks.

You can grant access to test your game to all users who have access to test APKs on a given release track. This works the same as if you had added them to the tester list individually. To do this, follow these steps:

  1. Open the PGS Testers section (Grow > Play Games Services > Setup and management > Testers) and select the Release tracks tab. On this page, you can also see the list of tracks that are already enabled for PGS testing.
  2. Click Add tracks.
  3. Select one or more tracks to enable for PGS testing.
  4. Click Add Tracks.

The selected release tracks will now appear on the list of tracks enabled for PGS testing.

Publishing your game changes

Once you are ready to share your latest game changes with the world, it's time to publish! Publishing your game changes makes the Google Play games services that you have configured available to public users of your game. This is different from publishing your game APK and will not display any information about your game on the Play Store. Instead, it means that all users with your game APK will be able to access Play Games Services features, such as sign-in, without needing to be added individually as a tester or be given access to a release track.

To publish your game changes:

  1. Open the Publishing section for your game in the Google Play Console (Grow > Play Games Services > Setup and management > Publishing), then follow the instructions on that screen to publish your game.
  2. If there are missing or incorrectly configured items that are preventing you from publishing your game, the Publishing section will tell you what those items are so that you can fix them.

The data for listed testers for the game is not automatically deleted when you publish the game changes. To delete data for testers, use the Google Play games services Management APIs.