How do you deauthenticate a user?

The iOS SDK mentions that if a user disconnects from Sendbird Server, they will no longer receive messages from an online state, but they will still receive push notifications.

If we want to sign out a user from our app, does this mean we have to disconnect the user from Sendbird Server AND turn off push notifications for that user? If not, what’s the suggested way of signing out a user?

Hi, @HTC The behavior is possible like you said, you need to unregister your push token to the server. According to the code of the sendbird’s sample app, the push token must unregister before disconnecting to Sendbird. I hope it helps you.

1 Like