# Chat on iOS is full of bugs

**URL:** <https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313>\
**Category:** iOS\
**Created:** [May 25, 2024, 2:59pm UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313 "2024-05-25T14:59:29Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [May 25, 2024, 2:59pm UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/1 "2024-05-25T14:59:29Z")

</div>

So I’ve been trying to use Amity as a chat provider in a project for my client and after spending countless hours of fixing bugs in your SDK (user avatars don’t work if custom avatar urls are used, uploading images doesn’t work, unread counter didn’t work) I got to a point where it works so-so but is super glitchy and I’m really close to ditching Amity and starting looking for an alternative.

I recorded a video to make you aware of how bugged the chat functionality is (here’s the link to the video: [Watch Screen Recording 2024-05-25 at 16.11.29 | Streamable](https://streamable.com/ryx2fa)):

- after sending the first message it doesn’t even appear on the screen, the user needs to scroll down to see that the message got actually sent
- user on the left is not notified that there’s a new message in the chat, only when second message is sent the unread counter is updated correctly and message preview is displayed
- the scroll behaviour is super glitchy as you can see in the video
- after opening the chat with 3 unread messages and popping back the messages are not marked as read on the left screen, opening the view for the second time fixes it. Sometimes opening the view for a few times doesn’t even help
- popping back on the right screen causes the chat to display 3 unread messages even if they were sent from the same device

Are you aware of those issues? Are you planning of fixing them, if so then what’s the timeline?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [May 27, 2024, 8:42am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/2 "2024-05-27T08:42:58Z")

</div>

@nadol Thank you for the video and for highlighting these issues. Could you please provide the version of the SDK you’re using? This will help us investigate and address the problems.

Thank you for your patience.

---

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [May 27, 2024, 9:28am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/3 "2024-05-27T09:28:00Z")

</div>

@SocialPlus_Support the video was recorded using your sample app: [ASC-UIKit-iOS-OpenSource.zip - Google Drive](https://drive.google.com/file/d/1CiuOalLx9eUE8Ogz2OaXz6yVyvqm_GAZ/view?pli=1)

in my code I’m using the latest open source version of amity uikit from this documentation: [iOS UIKit Installation Guide | Amity Docs](https://docs.amity.co/amity-uikit/ios/ios-uikit-installation-guide)

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [May 27, 2024, 11:09am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/4 "2024-05-27T11:09:20Z")

</div>

@nadol Thank you for the information you provided. We’ll pass this on for further checking and will get back to you if there are any updates.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [May 30, 2024, 5:11am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/5 "2024-05-30T05:11:24Z")

</div>

@nadol To confirm, we would like to know if you have completed the migration according to the document provided here: [SDK v6.26.0 Unread Count Migration Guide](https://docs.amity.co/developers/migration-guides/sdk-v6.26.0-unread-count-migration-guide).

---

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [May 30, 2024, 3:57pm UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/6 "2024-05-30T15:57:45Z")

</div>

@SocialPlus_Support Yes, I’ve done it in my project. But I uploaded a video where I show you all of the bugs listed above using sample app you’ve shared with me so it doesn’t really matter. You can just run the sample app and reproduce all of these bugs

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [May 31, 2024, 9:02am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/7 "2024-05-31T09:02:51Z")

</div>

@nadol Thank you for bringing these issues to our attention.

**Issue #1:** First message doesn’t appear until scrolling.

- This issue is reproducible and reported to our product team.

**Issue #2:** Unread counter updates only after the second message. **Issue #4:** Unread messages not marked correctly after popping back. **Issue #5:** Chat displays unread messages incorrectly after popping back.

- These unread count issues are fixed in [UIKit version 4.0.0-beta11.](https://github.com/AmityCo/ASC-UIKit-iOS-OpenSource/releases/tag/4.0.0-beta11)

**Issue #3:** Scroll behavior is glitchy.

- This issue has been noted and reported to our product team.

We recommend updating to [UIKit version 4.0.0-beta11](https://github.com/AmityCo/ASC-UIKit-iOS-OpenSource/releases/tag/4.0.0-beta11) to resolve the unread count issues. Our product team is investigating the remaining issues.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [May 31, 2024, 11:03am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/8 "2024-05-31T11:03:28Z")

</div>

@nadol To address your issue, could you please provide the iOS version of the Simulator where you encountered the problem?

Thank you.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [June 5, 2024, 4:17am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/9 "2024-06-05T04:17:01Z")

</div>

@nadol We have resolved the issue you reported. Could you please check again and confirm if everything is now working correctly?

Thank you for your cooperation.

---

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [June 5, 2024, 8:15am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/10 "2024-06-05T08:15:32Z")

</div>

@SocialPlus_Support sorry, I’ve missed your comment about iOS version. You mean that you fixed the scroll glitches? If so then what’s the SDK version I should use to verify that?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [June 5, 2024, 9:30am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/11 "2024-06-05T09:30:15Z")

</div>

@nadol Please check the Version iOS Uikit Version 3.20.6

---

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [June 5, 2024, 10:04am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/12 "2024-06-05T10:04:29Z")

</div>

@SocialPlus_Support But few messages above you suggested me to use 4.0.0-beta11. Doest the 3.20.6 also contains the unread counter fixes? It’s confusing which version should be used

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [June 6, 2024, 4:10am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/13 "2024-06-06T04:10:14Z")

</div>

@nadol I apologize for the confusion. Please update to version 4.0.0-beta11. However, please note that in this version, **the channel type will only include live.**

---

<div class="post-metadata">

**Author:** ![nadol](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nadol](https://forum.social.plus/u/nadol)\
**Post date:** [June 6, 2024, 11:23am UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/14 "2024-06-06T11:23:15Z")

</div>

@SocialPlus_Support I just downloaded the beta11 and used the SampleApp inside of it to test the unread count and it feels like it’s even worse. Scroll glitches are also not fixed (the first message still appears off screen). The unread count doesn’t update at all in chat list. Only when I enter the chat and then I pop back then it updates (but what’s the point of showing 3 unread messages when I just opened the chat and read those messages?)

I recorded a video, you can find the simulator versions on the recording (iOS 17.2).

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [June 10, 2024, 7:14pm UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/15 "2024-06-10T19:14:27Z")

</div>

Hello @nadol, let us double-check on this. Thank you for your patience 🙏

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [June 11, 2024, 2:07pm UTC](https://forum.social.plus/t/chat-on-ios-is-full-of-bugs/1313/16 "2024-06-11T14:07:09Z")

</div>

Hello @nadol, issues should be solved in this version: **4.0.0-beta12** , kindly update and let us know if you still encounter the issues. Thank you.
