I have implemented the SyncManager for offline support of the chat. Now when I send messages in the offline and then when I logout of the app. Then in online mode if I login back to app I see that the messages sent in offline(which were failed) retries and sends. When I logout of the app I close the SendBird connection, clear cache; but also messages are being cached.
I want the messages(failed messages only) to get cleared when the user logout of the app. How can this be achieved. Please help.