Hello,
I hope you can assist me with an issue I'm experiencing with the CarrotSDK integration.
According to your documentation, message updates should be delivered through the closure in Carrot.shared.getUnreadConversationsCount. However, I'm currently encountering a problem where when I call Carrot.shared.openChat(), the closure begins receiving fluctuating values.
Issue Description:
I had 1 unread message
The closure starts receiving: 0, then 1, then 0, then 1 again
This creates an inconsistent user experience
Expected Behavior:
The unread count should remain stable and only change when actual messages are received or read.
Could you please help me resolve this issue? I would appreciate any guidance on how to properly handle the unread messages count or if there's a known workaround for this behavior.
Thank you for your time and assistance.
Best regards, Siarhei
Hello,
I hope you can assist me with an issue I'm experiencing with the CarrotSDK integration.
According to your documentation, message updates should be delivered through the closure in Carrot.shared.getUnreadConversationsCount. However, I'm currently encountering a problem where when I call Carrot.shared.openChat(), the closure begins receiving fluctuating values.
Issue Description:
I had 1 unread message
The closure starts receiving: 0, then 1, then 0, then 1 again
This creates an inconsistent user experience
Expected Behavior:
The unread count should remain stable and only change when actual messages are received or read.
Could you please help me resolve this issue? I would appreciate any guidance on how to properly handle the unread messages count or if there's a known workaround for this behavior.
Thank you for your time and assistance.
Best regards, Siarhei