mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #278] iOS: per-subscription mute #214
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#214
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 @binwiederhier on GitHub (May 29, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/278
This ticket is about implementing the subscription mute and the min priority for iOS.
@binwiederhier commented on GitHub (Jun 3, 2022):
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_usernotifications_filtering
@binwiederhier commented on GitHub (Jun 4, 2022):
"Dear Developer,
Thank you for your interest in the Notification Service Extension filtering entitlement, and thank you for the detailed explanation of your use case.
We are unable to approve your request at this time. On iOS, we generally expect apps to make the determination of whether they need to alert the user on the server, not the client, in the interest of battery life.
See Choosing Background Strategies for Your App for alternative APIs that could help with your usecase, such as Background Push.
You may still use the Notification Service Extension without the filtering entitlement. As long as your Notification Service Extension runtime yields a visible notification at the end, it can remove previously posted notifications.
You can also consider using a lower interruptionLevel on iOS 15 and later.
Best Regards,
Andy (iOS Battery Life)"
@binwiederhier commented on GitHub (Jun 4, 2022):
Based on this response from Apple, i don't believe there is a way to implement the "mute topic" feature or the "min priority" feature without tracking the user server side, which I don't want to do.
@binwiederhier commented on GitHub (Jun 4, 2022):
"Good morning Andy,
Thank you for the swift reply.
That makes a lot of sense for traditional messaging apps. However, ntfy is a pubsub system that solely operates on topics (Firebase topics, and others). Server side, I do not track the Firebase token or APNs token at all, meaning I cannot distinguish users server side. A topic may have many subscribers (users), and sending exclusively to topics with multiple users means I cannot mute based on user, because different users may have different mute-preferences.
TLDR: ntfy uses topics with multiple subscribers (users), so communication is 1:n. Muting server side is hence not possible.
I should have included this in the original email. I ask you kindly and with the utmost respect to reconsider your evaluation.
Best regards,"
@MrOwen commented on GitHub (Sep 28, 2022):
Did Apple ever offer a response after your reply?
@binwiederhier commented on GitHub (Oct 1, 2022):
No answer, sadly.
@ksurl commented on GitHub (Oct 21, 2022):
This is unfortunate. Mute is pretty nice on discord.
@RezzZ commented on GitHub (Oct 21, 2025):
not only discord, also great feature on apps like whatsapp/telegram and other messaging apps.
a per topic mute for x hours/forever would be a nice feature for NTFY (at least for my use)