When player logged in second time .player is logged in with android id . and new account is created in playfab. and when player logout that new account created is useless .
So What should I do for it ?
What is the best way of logging out player ?
When player logged in second time .player is logged in with android id . and new account is created in playfab. and when player logout that new account created is useless .
So What should I do for it ?
What is the best way of logging out player ?
Can you explain why a new account is created when the player logs in for the second time? Usually, a player should only have one account, but this account can have multiple login methods.
If the logout you say means that the player no longer uses the device, then you can unlink the AndroidDeviceID for it, but only if the account has other recoverable login methods, otherwise the player will not be able to log in to this account again.
For the usual logout, PlayFab doesn't provide such functionality, but you can delete session tickets on the client side, and if you're using Unity, you can use PlayFabClientAPI.ForgetAllCredentials().
14 People are following this question.