[GH-ISSUE #709] Android app doesn't notify/make sound if notifications are received while the app is in foreground #517

Closed
opened 2026-05-07 00:25:00 +02:00 by BreizhHardware · 3 comments

Originally created by @DistortedBit on GitHub (Apr 23, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/709

🐞 Describe the bug
When the user is in the app it will not create a system notification.

💻 Components impacted
Android app

💡 Screenshots and/or logs
Add test topic as a notification subscription. Now from the the menu on top right, create a test notification. You will see the notification appear on the list, but you will not see any android system notifications or sounds for it.

🔮 Additional context
This may cause the user to miss a notification. For example, user tests notification and puts their phone down without locking phone and goes their way. App received notification while the app was in foreground and before phone auto locked. User will miss the notification. Intended behavior should be a android system notification should appear regardless of user is using the app or not.

Android 13 running grapheneos.

Originally created by @DistortedBit on GitHub (Apr 23, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/709 :lady_beetle: **Describe the bug** When the user is in the app it will not create a system notification. :computer: **Components impacted** Android app :bulb: **Screenshots and/or logs** Add test topic as a notification subscription. Now from the the menu on top right, create a test notification. You will see the notification appear on the list, but you will not see any android system notifications or sounds for it. :crystal_ball: **Additional context** This may cause the user to miss a notification. For example, user tests notification and puts their phone down without locking phone and goes their way. App received notification while the app was in foreground and before phone auto locked. User will miss the notification. Intended behavior should be a android system notification should appear regardless of user is using the app or not. Android 13 running grapheneos.
BreizhHardware 2026-05-07 00:25:00 +02:00
Author
Owner

@binwiederhier commented on GitHub (Apr 23, 2023):

I can't believe I'm writing this, but this is a feature, not a bug. I wrote code to make notifications not show when you're looking at the topic detail view.

I have often thought that that could be thought of as a bug though. It never felt okay to just not show notifications.

So I agree that this special behavior should be removed. Thanks for the ticket.

<!-- gh-comment-id:1519105115 --> @binwiederhier commented on GitHub (Apr 23, 2023): I can't believe I'm writing this, but this is _a feature, not a bug_. I wrote code to make notifications not show when you're looking at the topic detail view. I have often thought that that could be thought of as a bug though. It never felt okay to just not show notifications. So I agree that this special behavior should be removed. Thanks for the ticket.
Author
Owner

@DistortedBit commented on GitHub (Apr 23, 2023):

I can certainly see how some may want it disabled. Afaik apps like whatsapp has a setting where you can choose.

Thanks for your response. Your app is awesome.

<!-- gh-comment-id:1519118332 --> @DistortedBit commented on GitHub (Apr 23, 2023): I can certainly see how some may want it disabled. Afaik apps like whatsapp has a setting where you can choose. Thanks for your response. Your app is awesome.
Author
Owner

@xiezhenxiang commented on GitHub (Sep 7, 2023):

I hope to release a version as soon as possible. Thank you very much

<!-- gh-comment-id:1710507638 --> @xiezhenxiang commented on GitHub (Sep 7, 2023): I hope to release a version as soon as possible. Thank you very much
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#517
No description provided.