[iOS] Voice message (mic) button disappears after prolonged use; force-quit restores it

Open
#7,868 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
ios, react-native, typescript
Domain
mobile

Research direction

The payload names no files or tests, so begin by finding the message composer component that switches between the microphone and send buttons based on whether the input is empty. Reproduce the bug on an iOS build, since it appears only after prolonged use. Done means the microphone button stays visible with an empty input after room switches, typing and deleting, and backgrounding, and that a test or a verified repro covers the state transition.

Written by the indexing model from the issue text.

Description

type: bug

On iOS, the voice message (microphone) button in the message composer intermittently disappears after using the app for a while. Force-quitting and reopening the app restores the button temporarily, but the issue reoccurs during normal use

This appears to be a client-side composer state issue (empty input should show the mic button; typed text should show the send button). The UI state stops updating correctly after continued use (switching rooms, typing/deleting text, backgrounding the app, etc.).

Steps to reproduce

  1. Open the Rocket.Chat iOS app and enter any room/DM.
  2. Confirm the microphone button is visible when the input field is empty.
  3. Use the app normally for a period of time (send messages, switch rooms, open/close keyboard, background/foreground the app).
  4. Return to a room with an empty input field.

Expected behavior
When the message input is empty, the microphone (voice message) button should remain visible on the right side of the composer.

Actual behavior
The microphone button is missing. Only actions such as +, emoji, formatting (T), and @ remain. No mic or send button is shown despite the input being empty.

Force-quitting the app and reopening it restores the microphone button until the issue happens again.

Workaround

  • Force-quit the app and reopen it (most reliable).
  • Sometimes typing a character and deleting it refreshes the composer and brings the button back.

Environment

  • Rocket.Chat mobile app: 4.78.0 (110142)
  • OS: iOS 27.2
  • Device: iPhone 18 pro max
  • Server version: 8.8.1
  • Installation: Self-hosted

Additional context

  • Server setting Message → Audio Message → Audio Recorder Enabled is on.
  • Microphone permission for Rocket.Chat is allowed in iOS Settings.
  • Issue is intermittent and becomes more likely after prolonged use; not limited to a single room.
  • Happens on the latest App Store build (4.78.0); not fixed by recent updates.
    image
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RocketChat/Rocket.Chat.ReactNative

All issues in RocketChat/Rocket.Chat.ReactNative

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.