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

オープン
#6,793 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, react-native, typescript
領域
mobile

調査の方向性

まず、Push Fetch モードを有効にした Android 16 で問題を再現し、ADB logcat の出力と FETCH_PUSH_CONTENT broadcast の動作を調査します。受信した intent から Android の通知フェッチ処理を追跡し、その後、古い Android の動作を維持したまま、プッシュ通知に送信者名とメッセージ内容が "Unknown" ではなく表示されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

🐛 bug
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

主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。