Google Game Services OAuth for Production

I added Google services to the application (Leaderboard, achievements). Everything works fine in debugging .. on my machine .........

The OAuth client ID (for debugging) in https://cloud.google.com/console looks like 6666666.apps.googleusercontent.com

I am trying to create a new OAuth Client (for production, with a release key) ... and .... google generates a client with a name like "6666666-somenoise.apps.googleusercontent.com" ... and it does not work! It always says "Application missconfiguration" .. but everything is true APP_ID, SHA1 and package name.

The troubleshooting documentation for Google games is useless.

I made a test application again .. and it works (client ID is generated, as in the example above .. without this noise) ...

So. Of course, I can delete my current project .. and create again .. with the default key key setting .. but this is not the way! We have 100 achievements in this project .. with all translations (in many languages) .... and google, of course, does not allow exporting / importing them :(

+3
source share
2 answers

Finally, the problem was fixed by an unknown miracle.

How to fix:

  • Remove any customer ID created on cloud.gogle.com.
  • Remove related applications from your game in the "game services". (Play.google.com/apps/publish)
  • ... 2-3 .. ... google ( , .. .. )
  • (play.google.com/apps/publish)
  • ex 'My Game Debug'... ""...
  • ex 'My Game Release'... "".. .
0

Google+

, https://console.developers.google.com . . ( , ).

enter image description here

Google Play Game

https://developers.google.com/games/services/console/enabling, , , . 3. OAuth 2.0

, , , SHA1 .

+1

All Articles