简体   繁体   中英

Google Play Game Services not working... Is OAuth consent screen necessary?

I'm trying to make work Google Play Game Services with a game, but it's displaying an error when trying to login with a signed release APK. I checked that the project id and the SHA-1 are correct.

The only important thing i missed is this:

https://developers.google.com/games/services/console/enabling

  1. At release, publish the Play Games services settings first before you publish your game Developers might accidentally publish their app without publishing the corresponding Google Play games services settings for their app. This might cause players who are signing in with non-tester accounts to encounter errors since the app cannot reference the correct game settings. When releasing your game, remember to first publish your game settings by using the Publish Game option in the Google Play Console .

I published first the aplication, and after that I published the game settings...

And also, I disscovered that "OAuth consent screen" is not done. It's empty. It's asking me to select internal or external.

Is that the problem? Should I fill "OAuth consent screen" to make google play game services work?

Well, finaly, I filed the Oauth consent screen and it starting working...

That should be done automatically or at least they should put this on the documentation, and it's not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM