Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing Timestamp in Gotify Notifications on HyperOS (Redmi K70 Ultra)

オープン
#417 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

まず、HyperOS 2.0 を実行している Redmi K70 Ultra で、提供された 1 行および複数行の curl リクエストを使って通知の動作を再現します。Android 通知のレンダリングのエントリポイントを追跡し、1 行メッセージでタイムスタンプが表示されない理由を特定します。両方の形式で、末尾の改行に依存せずタイムスタンプが表示されれば完了です。

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

説明

request-for-comments

Here’s the updated bug report in English with the Redmi K70 Ultra device model specified:


Bug Report: Missing Timestamp in Gotify Notifications on HyperOS (Redmi K70 Ultra)
Environment
  • Device: Redmi K70 Ultra
  • OS: HyperOS 2.0
  • Gotify Version: Android Client v2.8.1 / Server v2.6.1 (example)
  • Reproducibility: Consistent
Description

On Redmi K70 Ultra (HyperOS 2.0), Gotify notifications only display the timestamp when the message contains line breaks (\n). Single-line messages show no timestamp, reducing usability for brief alerts.

Steps to Reproduce
  1. Send a single-line message via Gotify API:

    curl "http://gotify-server/message?token=XXX" -F "message=Test message" -F "priority=5"
    

    → No timestamp appears in the notification.

  2. Send a multi-line message:

    curl "http://gotify-server/message?token=XXX" -F "message=Line 1\nLine 2" -F "priority=5"
    

    → Timestamp is displayed (e.g., "19:45").

Expected Behavior
  • Timestamp should appear regardless of line breaks.
Actual Behavior
  • Single-line messages → No timestamp
  • Multi-line messages → Timestamp visible
Possible Cause

HyperOS may apply different notification templates based on message length/formatting, causing Gotify’s timestamp to be hidden in single-line notifications.

Workaround

Manually add a line break (\n) to force timestamp visibility:

curl "http://gotify-server/message?token=XXX" -F "message=Alert\n" -F "priority=5"
Additional Notes
  • Issue persists across reboots & reinstalls.
  • Other Xiaomi/HyperOS devices may be affected.

Would appreciate any insights or fixes from the Gotify/HyperOS teams. Thanks!


主要言語
Java
スター
1.5k
フォーク
218
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

gotify/android のほかの issue

gotify/android の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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