iOS UIKit: Unread badge is not reset

Problem/Question
Unread badge is not reset

UI Kit Information
Used SDKs: CometChatUIKitSwift 5.0.6 and CometChatSDK 4.0.64

Reproduction Steps

  • User1 is not in active Chat with User2;
  • User1 receives few messages from User2;
  • Unread badge from User1 Conversations list is updated (with User2)
  • User1 enter in active chat with User2
  • User1 goes back in Conversations list
  • Badge is reset to 0; no new message mark;
  • User1 pull to refresh Conversations list or restart the app;
  • User2 doesn’t sent message in this time.

Observed: Unread badge

  • Unread badge appeared again with previous value before refresh or app restart.

This issue is reproduced also on Sample project from Github
Frequency
How often is this happening?

Impact
Critical Visual andFunctionality impact

Hi Lustin,

We’ve tested this on our end but were unable to reproduce the issue. To assist you further and investigate more thoroughly, we kindly request the following details: App ID, region, Auth Key, and a few test user credentials. If possible, could you please share a short screen recording showing the exact steps for replicating the issue.

You can securely share the Auth Key with us via https://onetimesecret.com. Once our testing is complete, the key can be safely deleted. Please don’t forget to share the passphrase separately so we can access the key.

Looking forward to your response.

Regards,

Prathmesh Parteki
Sign up for service and maintenance updates.
CometChat

Hi,

Indeed issue is not reproducible anymore.
I guess it was an temporary Server issue.

Regards,
Iustin

Hi Lustin,

Thanks for confirming that you are not able to reproduce the problem again.
We will be closing this ticket for now.

If you face any difficulties in the future,
please feel free to reach out to us.

We are here to help you.

Best,

Hayyan Hajwani
CometChat