In my game am trying to link accounts, so that if the player used to have a google account and then changed device and created a guest account and then he decided to link this account with google, he should be asked if he want to retrieve his old account, the question here how can i know if he already had an account without trying to login, so that i can decide if i will link his new account to google or retrieve his old account?? the problem with trying to log in is that it create a new account automatically.
Answer by Joshua Strunk · Jan 10 at 04:04 PM
"the problem with trying to log in is that it create a new account automatically." - This should not be the case. All the LoginAPIs have a flag for if a new account should be created or not.
Set the CreateAccount param to false.
Is there another issue with attempting the login, besides the accidental account creation?