mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #70] Consider setting FCM priority to "high" for better delivery #59
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#59
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 @abrender on GitHub (Dec 29, 2021).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/70
I noticed that Instant Delivery is recommended for instant alerts because "Without instant delivery, messages may arrive with a significant delay".
A bit of snooping reveals that you can set the priority of a message to "high", which will "allow FCM to wake up a sleeping device when necessary". That functionality appears to be limited/bucketted but "if, in response to a high priority message, a notification is displayed in a way that is visible to the user, then your app standby bucket quota will not be consumed by that message".
@binwiederhier commented on GitHub (Dec 29, 2021):
Thank you for the suggestion. I remember seeing it, but there was some comment about not misusing it, or otherwise there will be some penalty. I forgot, but I'll read up on it again.
@binwiederhier commented on GitHub (Dec 29, 2021):
Ah yes it's right there
@binwiederhier commented on GitHub (Dec 29, 2021):
wait so do you think this means that if i display a notificaiton visible to the user, then the de-prioritization won't happen?
@binwiederhier commented on GitHub (Dec 31, 2021):
I think it may be worth setting the FCM priority to high for ntfy priorities 4 and 5, but I think I may need to create a limiter to regulate how often it's used. I will have to do some more research.
@binwiederhier commented on GitHub (Jan 4, 2022):
@abrender With the next server release, messages with priority 4+5 (high+max) will be FCM high priority messages