Domi04151309 / AlwaysOn

AlwaysOn is an app for every device with an OLED display. It adds an always-on display with various customization options regarding watch face, behavior, and background.
https://f-droid.org/packages/io.github.domi04151309.alwayson
GNU General Public License v3.0
177 stars 38 forks source link

[Feature Request] Filtering out `silent` notifications #78

Open zeekhuge opened 2 years ago

zeekhuge commented 2 years ago

Describe the solution you'd like

Would be super cool if we could filter out Silent notifications and just show Alterting notifications.

Additional Context here

PS: I am developer myself, and would love to help and implement this with your guidance (where should I start in the code-base ? where should I look for this ? etc).

PPS: Great app. Thanks for it.

Domi04151309 commented 2 years ago

This sounds like a great idea, but I'm uncertain how much effort this will require since the Notification API is lacking a lot of info, that the Android System has access to. Feel free to give it a try.

Starting Points:

Can you move the Notification gap request to a new issue? I think it's easier to manage that way.

zeekhuge commented 2 years ago

Can you move the Notification gap request to a new issue? I think it's easier to manage that way.

Ok. Will do that.

About the notifications API, the docs have the following

image

Do you think this can be used ?

Domi04151309 commented 2 years ago

I don't think this can be used because it doesn't tell us about individual notifications.

Domi04151309 commented 2 years ago

Some more links:

rlees85 commented 1 year ago

I think you can do this just by tweaking the notification permissions you grant to "always on". I think there is an option to not grant permission to silent notifications which should achieve this?