Android Sinch SDK disable history

Android Sinch SDK returns chat history but I don't need it because I am getting data from api, is there a way to disable history in sinch? I searched for the answer in sinch files and samples but couldn't find it.

+3


source to share


1 answer


Sinch stores messages for 30 days to make sure they are delivered to all user devices (such as phone and tablet). When you uninstall and reinstall an app, Sinch treats it as a new device for that user and delivers the last 30 days of messages.



If you don't like this behavior, you can easily filter your incoming messages for duplicates since each message has a unique ID.

0


source







All Articles