mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1293] Missed Messages Possibility #918
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#918
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @preechaw on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1293
The ntfy.sh Android app may lose the stream connection. When the app is reopened, the stream connection will be established, which is great. However, if the user doesn't pull down to refresh, they might miss some messages.
Let's say the last message id before the connection was lost was 1234. While there is no connection, there are two messages IDs 1235 and 1236. The user launches the app and the connection is reestablished. A new message ID 1237 is delivered. Now the "since" value has become 1237. Those two messages 1235 and 1236 will become inaccessible.
This can be reproduced by force stopping the app.
One possible solution is to let the app send poll=1&since=1234 at the time of connection reestablishment. Then 1235 and 1236 won't be missed.
Another possible solution is to set poll=0&since=1234 for the reconnection without another call with poll=1. This should be enough to prevent missed messages.