If you send or receive a new message for the first time for a user using SyncManager, the old message will be erased. I want to know the solution

  1. A group chat is opened and a few messages are sent
  2. A new user joins the chat from his phone and is able to view the previous messages in the group
  3. If the new user sends or receives a new message, the previous messages get cleared due to the CLEAR event being triggered and an INSERT event is fired with just the latest message. The previous messages are not inserted.
  4. Reloading the chat group fetches all messages again and then this issue does not repeat. It’s only for the first message that is sent/received.

Previously, I faced the same problem as an issue. Can I know the solution to this problem?

@Tyler @Brian_Sang

We are proposing a migration to local caching for the chronic resolution and smooth support of Syncmanager. Can you please refer to the migration guide and update it?

Thank you for your answer!
Is this problem not solved yet??

Hi haildev.help
Syncmanager’s potential issues are diverse, it difficult to solve all problems.
(That’s why it’s been deprecated.)
It would be nice to use local caching. :pray: