Hi,
In my game the user can sign in with Facebook in order to save progress to Firebase. I would like to provide the user with the option to sign out.
My problem is that after I sign the user out, next time he opens the game he signs back in automatically. The FB token is never removed.
My code:
FirebaseAuth.DefaultInstance.SignOut();
FB.LogOut();
PlayerPrefs.DeleteAll();
From what I found on the internet, the LogOut() function should not be used. Also I presume I need a function I cannot find in the Unity Facebook SDK: closeAndClearTokenInformation()
Please advice