Reputation: 440
I've added Google game services inside application (Leaderboard, achievements). Everything works fine in debug.. on my machine.........
OAuth Client Id (for debug) in https://cloud.google.com/console looks like 6666666.apps.googleusercontent.com
I try to generate new OAuth Client (for production, with release key)... and .... google generates an Client with a name like '6666666-somenoise.apps.googleusercontent.com' ... and this doesn't work! It always says "Application missconfiguration" .. but everything is correct APP_ID, SHA1 & package name.
Google game services troubleshooting documentation is useless.
I made a test application again.. and it works (Client ID is generated like in example above.. without that noise)...
So. of course I can remove my current project.. and create again..with release key config by default.. but that's not a way! We have 100 achievements added in that project.. with all translations (in many languages).... and google of course doesn't allow to Export/Import them :(
Upvotes: 3
Views: 718
Reputation: 17495
Just for future reference, on https://console.developers.google.com you can manage the client IDs. See selected menu option in screenshot below (the actual values are not in picture but you should be able to find it this way).
If you follow the steps from https://developers.google.com/games/services/console/enabling to link an app to your game play services this is part of the game play services flow. See Step 3. Generate an OAuth 2.0 client ID
However if you link the game again with the same package this wizard is skipped so there is no way to change the SHA1 value from the play game console.
Upvotes: 1
Reputation: 440
Finally the issue was fixed by an unknown miracle.
How to fix:
Upvotes: 0