-
I want to provide a button for the player to sign out from the current account. I can't find the counterpart for |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @a-irsyad ! The short answer is that you can't log out, I'm afraid. In the old v1 of play games API there was a way to log out, but Google took rid of that option in this new v2. If a user wants to change the play games account, they have to do it through the context menu of the game (long pressing the app icon). There's an option in that menu to change users. As far as I'm aware, there's no way of doing this through code. |
Beta Was this translation helpful? Give feedback.
-
I see. Thanks 🐱 |
Beta Was this translation helpful? Give feedback.
Hi @a-irsyad !
The short answer is that you can't log out, I'm afraid.
In the old v1 of play games API there was a way to log out, but Google took rid of that option in this new v2.
If a user wants to change the play games account, they have to do it through the context menu of the game (long pressing the app icon). There's an option in that menu to change users.
As far as I'm aware, there's no way of doing this through code.