Closed durnurd closed 8 years ago
@durnurd sorry the documentation is slighlty incorrect. Its not meant to clear the identity and credentials. Alternatively i also think its a good idea to clear the credentials from within the WipeData api. For now You should call CognitoAWSCredentials.clear();
Fixed in V 2.0.0.5
In our Unity game, you can change users by logging out of Facebook and logging in as a different user. When you log out, your data is wiped using
CognitoSyncManager.WipeData()
The documentation for this method states:
However, it does not appear to be the case that the identity is cleared. When logging in as a different user, I get this error:
I must call
CognitoAWSCredentials.Clear()
as well for the credentials to actually be cleared.