2
I’m developing a game and after the player does the sign in
is redirected to another in-game activity. My problem is that I don’t know how to get the username
of him in that activity in which he enters after the Sign In
. I have to do it again Sign In
in the second activity?
I tried to do this:
GoogleSignIn.getClient(this, GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN).toString();
but what you gave me back was: com.google.candroid.gms.auth.api.signin@
and I want the username
his.
Does anyone know how to get the username
?
Thank you! It worked!
– porthfind