[GH-ISSUE #1591] Android: Notifications may be missed in certain (rare cases) #1119

Closed
opened 2026-05-07 00:30:23 +02:00 by BreizhHardware · 0 comments

Originally created by @binwiederhier on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1591

🐞 Describe the bug

The since= parameter is kept in memory only as AtomicBool, and so after an app restart or after a new subscription is added, the parameter is reset to null/none. We should use the lastNotificationId instead.

💻 Components impacted
Android

💡 Screenshots and/or logs


2026-02-03 18:22:17.468  4499-4499  NtfyWsConnection        io.heckel.ntfy.debug                 D  10.0.2.2:2586/bla,dasdasdasd (gid=2): Opening http://10.0.2.2:2586/bla,dasdasdasd/ws?since=none with listener ID 4 ...
Originally created by @binwiederhier on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1591 :lady_beetle: **Describe the bug** The `since=` parameter is kept in memory only as AtomicBool, and so after an app restart or after a new subscription is added, the parameter is reset to null/none. We should use the `lastNotificationId` instead. :computer: **Components impacted** Android :bulb: **Screenshots and/or logs** ``` 2026-02-03 18:22:17.468 4499-4499 NtfyWsConnection io.heckel.ntfy.debug D 10.0.2.2:2586/bla,dasdasdasd (gid=2): Opening http://10.0.2.2:2586/bla,dasdasdasd/ws?since=none with listener ID 4 ... ```
BreizhHardware 2026-05-07 00:30:23 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1119
No description provided.