# Missing Messages on iOS App

**URL:** <https://forum.mattermost.com/t/missing-messages-on-ios-app/6046>\
**Category:** Mobile Apps\
**Created:** [October 30, 2018, 11:48am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046 "2018-10-30T11:48:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [October 30, 2018, 11:48am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/1 "2018-10-30T11:48:54Z")

</div>

Hi all,

server: linux RHEL 7.5 64 bits  
server mm: 5.4.0  
ios: 12.0.1  
ios mm: 1.13.1 build 151

I’m facing issue where the user gets a new message notification, he opens the app but that specific message doesn’t show up on the chat app.

It is happening from time to time.

To replicate, have mattermost opened on your iphone, lock the phone, ask for a friend to send a direct message, wait until the notification pops, click on the notification, it should open mattermost in the correct channel but the message will not show up leaving a gab on your messages.

This is very frustrating. I have many complains from users about this issue.

This kind of issue causes users to loose trust in Mattermost. Something we already discussed. Message and notification service should be working 100% by now. Other services can be improved in time.

Please have this issue set to high priority and sorted asap.

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/d/d546e15c8c1fb1622e51b9b9f7f50f1aaaf74262.jpeg)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [October 30, 2018, 3:20pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/2 "2018-10-30T15:20:38Z")

</div>

Hi @RbDev,

I’ll be testing this out and I’ll also ask the team to help test it out.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [October 31, 2018, 2:48pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/3 "2018-10-31T14:48:05Z")

</div>

Hi @RbDev, I realized we still have this ticket open which will most likely fix the issue you’re seeing: [https://mattermost.atlassian.net/browse/MM-11965](https://mattermost.atlassian.net/browse/MM-11965).

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [October 31, 2018, 3:51pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/4 "2018-10-31T15:51:47Z")

</div>

I dont think we are talking about the same issue.

The issue in this post is about messages not appearing in the chat. I believe the app is not receiving them.

The issue you are talking about is something I raised sometime ago about messages not being displayed correctly. You can see the issue specially when you change the mobile orientation and it causes the message to go out of the screen or not enough height is added to display the hole message or create empty spaces appears between messages. This is a layout issue.

In regards to your issue I think message required area is not being calculated correcty.

In regards to mine, I think the app is not getting updated. not receiving the latest messages. If you are using websockets it is possible the server already sent the message but the app wasn’t active to receive it.

Cheers

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [October 31, 2018, 9:26pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/5 "2018-10-31T21:26:28Z")

</div>

Another scenario with missing messages.

iPad:

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/f/fd3de3464a746e2e20b8501f99c1482d53423a69.jpeg)

iPhone:

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/3/3be755bc899948647b2871c365339ef52bcf5d38.jpeg)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [November 1, 2018, 2:42pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/6 "2018-11-01T14:42:21Z")

</div>

@RbDev I’ve asked our QAs to help test this as well.

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [November 22, 2018, 4:03pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/7 "2018-11-22T16:03:00Z")

</div>

This issue is still happening in the latest release.

Mattermost Server: 5.5.0

iOS: 12.1

Mattermost App: 1.14

Pls give priority to this. It needs to be fixed ASAP.

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/3/3de1e4a97b64118082d090042b0e0518c65b3ebb.jpeg)

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/1/117052f38ce393e098fb52821f60dce951791aa0.jpeg)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [November 22, 2018, 7:48pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/8 "2018-11-22T19:48:26Z")

</div>

Hi @RbDev,

We created different types of tickets based on your meeting with one of our PMs, so you will see improvements in future releases: [https://mattermost.atlassian.net/browse/MM-13065](https://mattermost.atlassian.net/browse/MM-13065).

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [December 21, 2018, 5:59pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/9 "2018-12-21T17:59:04Z")

</div>

Hi all,

Unfortunately this issue is this happening:  
MM server 5.6  
iOS 12.1.1  
MM iOS 1.15

The user receives the notifications for each message but they dont appear in the chat list.

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/f/f3e81ad4da1e1d81ff1abe7fd4c491cdb2e93970.jpeg)

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/f/f37acbac122a76ef33c31e23c18eae8c8c17a193.jpeg)

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [December 21, 2018, 6:51pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/10 "2018-12-21T18:51:57Z")

</div>

Thanks @RbDev - our team is working on improving network handling for the mobile apps: [https://mattermost.atlassian.net/browse/MM-13065](https://mattermost.atlassian.net/browse/MM-13065)

Some of the improvements have been completed with more in progress or planned

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/9/96a85dd668d3050f17a2c31543fada8a5e28d318.png)

---

<div class="post-metadata">

**Author:** ![rvaidya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rvaidya/32/2670_2.png) [@rvaidya](https://forum.mattermost.com/u/rvaidya)\
**Post date:** [February 5, 2019, 5:00am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/11 "2019-02-05T05:00:53Z")

</div>

This is also happening in the Android app, reported by one of our users.  
Restarting the app did not fix the issue.

Missing:  
 ![message-missing4](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/7/749acf9cd11b631e9d4dd72506970b4280ed37f7.jpeg)

---

<div class="post-metadata">

**Author:** ![rvaidya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rvaidya/32/2670_2.png) [@rvaidya](https://forum.mattermost.com/u/rvaidya)\
**Post date:** [February 5, 2019, 5:01am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/12 "2019-02-05T05:01:27Z")

</div>

Present:

![message-there2](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/0/0da241af0aa9509a8ad7ac7787e7d0e6743b01a2.png)

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [February 19, 2019, 2:49am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/13 "2019-02-19T02:49:06Z")

</div>

Unfortunately this issue is still happening.

MM Server: 5.8  
MM iOS Client: 1.16  
iOS 12.1.14

I did get a notification about a new message “Falo com ela depois.”. I open the ios app and the message doesn’t show up. I ended up with a gap in the message list.

Please this needs fixing …

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/2X/1/11c00eff915398e1894746023234159d826f947a.jpeg)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [February 19, 2019, 1:44pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/14 "2019-02-19T13:44:24Z")

</div>

Thanks @RbDev - as stated above, our team is working on improving network handling for the mobile apps: [https://mattermost.atlassian.net/browse/MM-13065](https://mattermost.atlassian.net/browse/MM-13065)

Some of the improvements have been completed with more in progress or planned.

---

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [February 19, 2019, 1:48pm UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/15 "2019-02-19T13:48:08Z")

</div>

Hi @amy.blais,

I understand there are many issues to work on but since this issue affects messaging (mattermost primary feature) I believe this should be set as high priority.

I suggest to have as many developers involved as possible to fix this.

Cheers

---

<div class="post-metadata">

**Author:** ![boxed](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/boxed/32/3219_2.png) [@boxed](https://forum.mattermost.com/u/boxed)\
**Post date:** [September 16, 2019, 11:28am UTC](https://forum.mattermost.com/t/missing-messages-on-ios-app/6046/16 "2019-09-16T11:28:49Z")

</div>

We see the exact same issue with the web app and the macOS app (which is just the webapp so no surprise there!). A reload shows the new messages.

I’m guessing the web problem is the classic sync problem: updates are lost (maybe bad network or whatever) and there is no way to discover this state to recover.

There are many solutions possible, but first the problem must be discovered. For example sending the ID of the previous message to the client with every new message. If the client got an unknown ID it would reload the page.

Or send the total count of messages when joining a room, and then with each new message. The client could then take the initial count and add, if a new message arrives with a total that doesn’t match the local: reload the page.
