bug: Messages missing in chat
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #7506 by @diegolmello — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- android, react-native, typescript
- Domain
- mobile
Research direction
Start by reproducing the notification-to-chat flow on Android, using the reported E2E-chat setup and comparing behavior after reopening the app. Trace why messages appear in the chat-list preview but not inside the chat; done means newly received and sent messages consistently appear in the mobile chat without requiring a restart or another client.
Written by the indexing model from the issue text.
Description
Describe the Bug
Frequently, new messages are missing. Some times even when sending a message, the chat doesn't show the message that was just sent.
But the biggest issue is when someone else sends a message and clicking the notification, only to land in a chat with no new messages. At that point, going back to chat selection shows the new message as the latest message, in the one-line preview. Clicking it goes back into the chat, where there are still no new messages.
Some notes:
- I only use E2E chats on my deployment.
- This is happening on multiple android devices with Android 15-17.
- The desktop app and webapps do NOT have this issue. Only the android app. I don't have an iOS device to test, but it must be happening there too.
- Killing the app and re-opening it before sending a new message when the bug happens, brings the messages back into the chat. If the user facing the bug sends a message before killing the app and restarting, it's impossible to recover them. The only solution is to open the webapp or desktop app.
- This has been happening for a while, probably since 7.x rocketchat..
Steps to Reproduce
- Click notification
- The new messages are missing
Expected Behavior
I expect the messages to show up properly in the mobile chat, like they do on webapp and desktop app.
Actual Behavior
Messages are missing.
Rocket.Chat Server Version
8.5.1
Rocket.Chat App Version
Latest Beta
Device Name
Redmi Note 11, Samsung Galaxy M31
OS Version
Android 15, 16, 17
Additional Context
No response
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/Rocket.Chat.ReactNative
-
[IMPROVEMENT] Remove redundant `await` on synchronous `userPreferences.getBool` in `getUsersPresence`Possibly taken A pull request linked to this issue is open or already merged. Opentype: feature
Difficulty 1/5 Under an hour Newbie friendliness 92/100
RocketChat/Rocket.Chat.ReactNative#7737 ·
Maintainers usually reply within 1 day
-
UIKit modal: a viewSubmit response with no `type` field fails to close the modal on mobile (regression from #7057)Possibly taken @erikurt9 claimed this 106 days ago. Opentype: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
RocketChat/Rocket.Chat.ReactNative#7503 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
type: bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
RocketChat/Rocket.Chat.ReactNative#7437 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
✅ tests 👷 ci type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
RocketChat/Rocket.Chat.ReactNative#7247 · 1 comment ·
Maintainers usually reply within 1 day
-
bug: goRoom navigates to broken RoomView after failed DM creation from searchPossibly taken @deepak0x claimed this 215 days ago. Opentype: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RocketChat/Rocket.Chat.ReactNative#7098 ·
Maintainers usually reply within 1 day
All issues in RocketChat/Rocket.Chat.ReactNative
Similar issues
-
bug
Difficulty 2/5 Half a day Newbie friendliness 68/100
amosblomqvist/learnharness#758 ·
Maintainers usually reply within 2 days
-
Change WorkspacesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-market/dsh-market#1210 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
trustjonathan/STUDY-HUB#13 ·