Guide to Linking Play Games Services

Achievements and leaderboards of Google's “Play Games Services” can be linked with ONE store products. “Credentials” must be added to the game project of “Play Games Services” in order to link.

  • Even if Google Play and ONE store have different package names, the Play Games Services can be linked in the same way.

Setting Up Play Games Services

After accessing https://play.google.com/console, follow the steps below to proceed with the settings. For more information, please click here.

  1. Go to the [All Apps] menu and click the app you want to link.

  2. Click the [Grow > Play Games Services > Setup and Management > Configuration] menu.

  3. In the [Credentials] section, click [Add Credential].

  4. In the [OAuth Client] section of the [Add Credential] screen, select the OAuth Client ID, then click [Save Changes].

    • If you need to create a new OAuth client ID,

      • Click [Create OAuth Client].

      • Click the link to create an OAuth Client ID on the Google Cloud Platform of the popup.

      • Enter the information for [Create OAuth Client ID] on the Google Cloud Platform, then click [Create].

      • You can check the generated OAuth Client ID from [Google Cloud Platform > Credentials].

      • You can select the generated OAuth client ID by clicking [Refresh OAuth Clients] on the [Add Credential] screen in [Grow > Play Games Services > Setup and Management > Configuration].

  5. Run games from Google Play and ONE store on your device to see if the achievements and leaderboards have been shared.

Checking the Firebase Linkage

If Play Games Services is set up, Firebase will automatically be linked. You can check the linkage information after accessing https://console.firebase.google.com and following the steps below.

  1. Go to [Your Firebase Projects] and click the project.

  2. You can check that both apps are registered in the top part.

  3. Click the [Setting] icon next to [Project Overview], then click [Project Settings].

  4. You can check that both apps are registered in the [Your Apps] section of the [General] tab.

TIPS - Building with two packages

  1. Set up build.gradle.

  2. Check Gradle > app > Tasks > build > assemble.

  3. Register the apk of “release” to each store.

Last updated