Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

[BUG] New messages are not loaded properly

Open dhoeld opened this issue 6 years ago • 6 comments

  • Your Rocket.Chat app version: 3.4.1
  • Your Rocket.Chat server version: 1.0.2 (Also tested with previous versions)
  • Where is Rocket.Chat server running? Kubernetes with 3 replicas
  • Device (or Simulator) you're running with: IPhone 8/Iphone 8 Plus

Description We always have messages missing on the Rocket.Chat IOS App when opening the App after it was closed or after push notifications. For better understanding of the problem we added the Screencast below. This is neither happening on the Desktop Client nor on the Android App.

Screencast rchat_ios_messages_bug

How to reproduce the problem?

  1. Close your IOS Rocket.Chat App
  2. Let someone else send you messages
  3. Open your IOS Rocket.Chat App
  4. Open the conversation
  5. Now you see none of the new messages or just a part of the new messages
  6. Step out of the conversation
  7. Open the conversation again
  8. Now you are able to see all new messages

We've got many IOS devices and therefore also have a lot of complaints about this issue by our users. It's kind of a showstopper for us. :-(

I'm not sure if it's related to that issue here https://github.com/RocketChat/Rocket.Chat.iOS/issues/2472

We would be very pleased if you could help us fixing this issue.

dhoeld avatar May 03 '19 09:05 dhoeld

Seems to be slightly better with 3.5.0 but still affects our users. Is no one out there who faced the same or a similar issue?

dhoeld avatar May 15 '19 06:05 dhoeld

Hey Guys,

Is there any update on this issue? Facing the same problem in our environment.

Please let us know if there is any fix.

dcardellino avatar May 16 '19 12:05 dcardellino

We are on 1.0.3 now and the issue still exist.

dhoeld avatar May 17 '19 07:05 dhoeld

I suspect that the following code in MessagesViewController.swift will overwrite newly fetched messages while the view is being updated.

viewModel.data = newData

jungeonkim avatar May 19 '19 14:05 jungeonkim

Seeing similar behavior with app 3.5.2 and server 2.1.1. With iOS app open, push notifications come in, but new messages do not appear in conversation until you leave conversation and reenter.

cbrenteverett avatar Nov 26 '19 15:11 cbrenteverett

The mobile apps are moving to React Native.

Please read the following links.

https://github.com/RocketChat/Rocket.Chat.Android#legacy-rocketchat-android-native-application

https://rocket.chat/2019/10/11/moving-mobile-apps-to-react/

Any issues here are now unlikely to get fixed.

You should test the Experimental RN app on iOS and look in the React Native repo

https://github.com/RocketChat/Rocket.Chat.ReactNative

reetp avatar Nov 26 '19 15:11 reetp