# iOS app -- Do not receive messages in chat after implementing a file loaders & progress bars

**URL:** <https://community.sendbird.com/t/ios-app-do-not-receive-messages-in-chat-after-implementing-a-file-loaders-progress-bars/3385>\
**Category:** iOS\
**Tags:** message, file-message, react-native\
**Created:** [November 17, 2021, 1:21pm UTC](https://community.sendbird.com/t/ios-app-do-not-receive-messages-in-chat-after-implementing-a-file-loaders-progress-bars/3385 "2021-11-17T13:21:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![five\_project](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@five\_project](https://community.sendbird.com/u/five_project)\
**Post date:** [November 17, 2021, 1:21pm UTC](https://community.sendbird.com/t/ios-app-do-not-receive-messages-in-chat-after-implementing-a-file-loaders-progress-bars/3385/1 "2021-11-17T13:21:12Z")

</div>

We are currently implementing an advanced loader for files so that when users upload files they see a circle progress bar + exact size that is being loaded (reference: Telegram messenger).

Our developers are facing an issue with it.

In SB UI KIT we use renderChatItem={({message, channel})} =\> {…} to render customized message item.  
In case we send a file message in this way:  
const sendFileMessage = sendBirdSelectors.getSendFileMessage(store);  
sendFileMessage (channel.url, params).then(…)  
…everything is work good.When we try to send a file message in this way (to handle the progress of image/video uploading):  
channel.sendFileMessage(params, progressFunction, resultFunction)  
…there is a problem.  
New messages **don’t come** in renderChatItem in real-time, but it appears in channel.lastMessage immediately. After overloading the page it comes in renderChatItem.

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [November 17, 2021, 7:14pm UTC](https://community.sendbird.com/t/ios-app-do-not-receive-messages-in-chat-after-implementing-a-file-loaders-progress-bars/3385/2 "2021-11-17T19:14:58Z")

</div>

Hi @five_project,

Welcome to the Sendbird community. It looks like you also submitted a case to our Support team so we’ll communicate there moving forward.

Thanks,  
Tyler

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [November 17, 2021, 7:15pm UTC](https://community.sendbird.com/t/ios-app-do-not-receive-messages-in-chat-after-implementing-a-file-loaders-progress-bars/3385/3 "2021-11-17T19:15:01Z")

</div>

Closed on November 17, 2021, 7:15pm UTC


