chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
913 stars 276 forks source link

Messages are not marked as read on IOS #516

Open ronaldo-triibo opened 4 months ago

ronaldo-triibo commented 4 months ago
  1. Is the bug present in the demo Chat SDK project? Yes.

  2. What modifications have you made to the Chat SDK? None.

  3. iOS Version? Device or simulator? iOS 16 on both device and simulator.

  4. Steps taken to reproduce the problem: Open app and read a thread. Close the app and re-open.

  5. Expected result: Once a thread is read, it should be marked as read and remove the unread badge.

  6. Actual result: By closing the app and re-opening it, the message is still marked as unread.

  7. Comments: In Android it is working as expected: when the user reads the thread and opens the app again, it shows as read.

bensmiley commented 4 months ago

Hi @ronaldo-triibo I will check this. Can you confirm when you close the app you do it using the swipe up gesture and not killing it in Xcode?

ronaldo-triibo commented 4 months ago

Hello, Ben! It happened by using the swipe gesture, I haven't tried it on Xcode. Thank you!