mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #520] Listening notification isn't minimised #398
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#398
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 @alexhorner on GitHub (Nov 27, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/520
Quasseldroid, Conversations and Automate as you can see in my screenshot have their notifications minimised by default. I believe Quasseldroid and Conversations are open source so maybe that could be of help for reference? As you can see, I have manually minimised the listening notification.
@s-h-a-r-d commented on GitHub (Nov 27, 2022):
Could it be that you are mixing the listening notification with the regular one? In your screenshot 4th notification from the top is the one that is the listening and it seems to be minimized. The topmost is not the listening notification, but the actual notification.
@alexhorner commented on GitHub (Nov 27, 2022):
No, I just worded it poorly last night. Please see my updated description.
@binwiederhier commented on GitHub (Nov 28, 2022):
I looked again and I cannot find a way to programatically do this. I even looked at the Quasseldroid source code and I can't find anything special that they are doing. Some Stackoverflow answers even suggest that it's not possible at all.
@alexhorner commented on GitHub (Nov 28, 2022):
Might it be this? https://git.kuschku.de/justJanne/QuasselDroid-ng/-/blob/main/app/src/main/java/de/kuschku/quasseldroid/service/QuasseldroidNotificationManager.kt#L276
@binwiederhier commented on GitHub (Nov 28, 2022):
I tried it in the emulator, and
.setPriorityis deprecated and (according to the docs) is ignored. Though in actuality,.setPriority(Notification.PRIORITY_MIN)will just make the foreground notification not show up at all (on SDK 33), similar to when it is swiped away.The Android docs also discourage the use of minimum priority:
I think it's not entirely inconceivable that the System UI decides to minimize the Quasseldroid notification because it is low priority and you have many other ongoing notifications.
I think I'm going to call it a day trying to minimize this by default. I'm happy to try out ideas, but I don't want to spend more time on it.
@alexhorner commented on GitHub (Nov 28, 2022):
No worries, totally understand. I'll have a play around I think and see if I can be of any further assistance but thank you very much for taking a look
@binwiederhier commented on GitHub (Nov 28, 2022):
I'm gonna close this for now, but if there is any new info, please do not hesitate to comment. We can always re-open the ticket.