Mark as read doesn't work on all previous messages

If you mark as read a message, all previous messages will be marked as read too, right?

However, I noticed one message in the middle of the conversation which readAt value is zero. Is there a fix for this?

Note: I encountered this in group chat
SDK: Xcode11.6-2.0.13

Hello @srbalan,

Can you please provide me the short video of this issue so that we can look into this and assist you better.

Screen recording: https://drive.google.com/file/d/1aS3fIq6ThnJlEqgT6UYIFUud5dqqE9Rr/view?usp=sharing

You’ll notice that the message above and below “debugging” is already marked as read. I also attached the screenshot of TextMessage readAt value to make sure this is not just a UI issue.

Hello @srbalan,

We have released new version of UI Kit in which we have fixed the issue.
This release also includes:

  • Support for SDK v2.1.0
  • Support for .xcframework
  • Support for bitcode enabled
  • New Calling Component i.e. CometChatProCalls

Sample App Link: https://github.com/cometchat-pro/ios-swift-chat-app

Also, For group chat we are changing the read receipt implementation where you’ll be able to see the read/delivery receipts for the list of users who read the messages like whatsapp.

Which pod version should I use? 2.1.0-Xcode11.6 or just 2.1.0 ?

Cocoapods couldn’t find the 2.1.0-Xcode11.6.

Hi @srbalan

We have migrated to xcframework so now there is no version of Xcode appended with the cocoapods release. Now you just need to add 2.1.0 in your pod file next to CometChatPro. For reference you can go through our documentation. Here is the link of the documentation:

Let me know if you face any other issue. We will be happy to assist you.

Regards
Jeet Kapadia

1 Like

Hi @jeet.kapadia
I can still replicate this issue using CometChat SDK 2.1.0.

The latest message has readAt value, but previous messages has zero readAt value which is not the expected behavior, right?

Hi @srbalan,

Can you please tell us the issue you are facing is for one-on-one or for groups. Also have you checked our sample app and faced the issue in it?

Regards
Jeet Kapadia

Hi @srbalan,

It would be great if you can provide us a video for the same so that we can have better understanding of the issue faced by you.

Regards,
Jeet Kapadia

Screen recording: https://drive.google.com/file/d/1Mskg5x1JYBruxmexkLAOS2zI5VgNj0Pk/view?usp=sharing

In the screen recording, you will notice that even the latest message was seen by all users, previous messages still mark as unread which is not the expected behavior, right?

The issue was encountered, after pulling the messages.

Any updates? @jeet.kapadia

Any updates @pushpsen.airekar?

Hello,

@srbalan,

We have released new version of UI kit v2.1.1 where we have added support for message receipt information for groups where you’ll be able to see messages read and delivered to particular members in group.

Please clone UIKit or sample app repo.

This will resolve your issue.

Hi @pushpsen.airekar

I can still replicate the issue using the latest sample app. In this video recording, you’ll see that the “Debugging” message is not yet seen, while the message below is already seen which is not the expected behavior, right?

Hi @srbalan,

Currently, there is no mechanism to get this information in real-time. We have added your email to the list of subscribers for this feature request so that you will be informed if and when we decide to take this feature up and make it live.

https://feedback.cometchat.com/cometchat-pro-feature-requests/p/real-time-event-for-message-read-by-all-members-of-the-group
https://cometchat.canny.io/admin/board/cometchat-pro-feature-requests/p/read-receipts-for-groups

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.