RocketChat / RocketChat/Rocket.Chat.ReactNative

bug: Push Fetch mode fails on Android 16 – Notifications show "Unknown"

Open
#6,793 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Describe the Bug

On Android 16, the Rocket.Chat app shows push notifications in fetch mode as "Unknown". Users on older Android versions or other devices do not experience this issue.

Steps to Reproduce
  1. Install the Rocket.Chat app (latest version from Google Play)
  2. Go to Settings → Push → Enable “Fetch full message content on push receive”
  3. Send a Rocket.Chat push → notification shows only "Unknown"
  4. Disable fetch mode → name + message content appear correctly
Expected Behavior

Push notification should display name + message content, fetch mode works as intended

Actual Behavior

Push shows only "Unknown", fetch mode is blocked on Android 16

Rocket.Chat Server Version

7.12.1

Rocket.Chat App Version

4.66.1.107670

Device Name

Pixel 7 Pro

OS Version

Android 16 (Stock)

Additional Context

ADB logcat for the notification:

NotificationRecord: pkg=chat.rocket.android user=UserHandle{0} id=<redacted> 
Notification(channel=rocketchatrn_channel_01, importance=4, visibility=PRIVATE)
StatusBarNotification: pkg=chat.rocket.android user=UserHandle{0} id=<redacted>
NotificationChannel: mId='rocketchatrn_channel_01', mName='All', mImportance=4

Manual fetch broadcast:

adb shell am broadcast -a chat.rocket.android.intent.action.FETCH_PUSH_CONTENT
Broadcasting: Intent { act=chat.rocket.android.intent.action.FETCH_PUSH_CONTENT }
Broadcast completed: result=0

Intent is received, but fetch does not execute

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the issue in Android 16 with Push Fetch mode enabled and inspect the ADB logcat output and FETCH_PUSH_CONTENT broadcast behavior. Trace the Android notification fetch handling from the received intent, then verify that a push notification displays the sender name and message content instead of "Unknown" while older Android behavior remains intact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.