[GH-ISSUE #764] Badge support #550

Open
opened 2026-05-07 00:25:21 +02:00 by BreizhHardware · 0 comments

Originally created by @koro666 on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/764

💡 Idea
I would like to request the addition of a badge parameter.

It would work exactly the same way as the current icon parameter, but would end up calling setSmallIcon instead of setLargeIcon when building the notification on Android. Currently it is hardcoded to R.drawable.ic_notification.

This would allow customizing the status bar icon which would make it easier to differentiate topics at a glance.

For feature parity, I assume iOS has some sort of similar API to change the status bar icon, and in the web app, this could be accomplished by setting Notification.badge.

💻 Target components

  • ntfy server
  • Android app
  • iOS app
  • web app

Thanks.

Originally created by @koro666 on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/764 :bulb: **Idea** I would like to request the addition of a `badge` parameter. It would work exactly the same way as the current `icon` parameter, but would end up calling `setSmallIcon` instead of `setLargeIcon` when building the notification on Android. Currently it is hardcoded to `R.drawable.ic_notification`. This would allow customizing the status bar icon which would make it easier to differentiate topics at a glance. For feature parity, I assume iOS has some sort of similar API to change the status bar icon, and in the web app, this could be accomplished by setting [`Notification.badge`](https://developer.mozilla.org/en-US/docs/Web/API/Notification/badge). :computer: **Target components** - ntfy server - Android app - iOS app - web app Thanks.
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#550
No description provided.