Sinch SDK - How to logout user?

2020-03-25 07:22发布

I'm using Sinch SDK for instant messaging. How to logout user? I have button to logout user, but can't implement that feature in Sinch SDK. Neither their docs or samples describe such feature.

1条回答
▲ chillily
2楼-- · 2020-03-25 07:49

The sinch client does not have a logout, we consider mobile users to be "online" what you can do if you i.e don't want to receive more push messages is to unregister push data, and if you are not using push, just stop the client. We are using delegated security so if you tell us Joe is logged in with you key and secret we trust that you have verified the user.

查看更多
登录 后发表回答