mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #644] iOS notifications repeats if ignored #478
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#478
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 @Dima-Kal on GitHub (Mar 1, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/644
Hi, first of all thanks for such an amazing project that allows for easy notifications setup, this made a huge impact on my workflows!
There is an issue that if I receive notification on iOS and do not open it, after some time (don’t think there is an exact amount) the notification will repeat itself which causes confusion, to mitigate it I’ve added time stamps to the notifications, but would still like this not to happen, has anyone also experienced this?
@atomicangel commented on GitHub (Mar 1, 2023):
I have experienced this as well. One of the things I noticed specifically was that turning off disk caching helped mitigate the issue. I was looking at the webserver logs (I use nginx) and noticed that the initial notification didn't trigger an access log, however the subsequent notification did. The access log indicated that the iOS client was doing a GET request and checking for any "old"/"unreceived" messages. After turning off the disk cache and restarting the service, I do not experience the issue any further, even if I don't acknowledge the notification.
Edit: I'm still experiencing double notifications if another notification comes through and I haven't acknowledged the original notification.
@Dima-Kal commented on GitHub (Mar 1, 2023):
by disabling disk cache you mean setting "cache-duration: "0"" ?
@atomicangel commented on GitHub (Mar 1, 2023):
No, I just commented out all cache related sections.
#cache-file: /var/cache/ntfy/cache.db#cache-duration: "12h"@Dima-Kal commented on GitHub (Mar 1, 2023):
these settings were not enabled the example (and so also not enabled in my config)
@binwiederhier commented on GitHub (Mar 2, 2023):
iOS dup notifications are a known bug. My guess is that it's because iOS is not processing the original APNS notification until it wakes up for the regular polling, and then delivers both messages at the same time.
I think I need to get rid of the polling. iOS is on the long list of things to do. But I'm only one guy...
@binwiederhier commented on GitHub (Mar 3, 2023):
This is a dup of #316