pilot51 / voicenotify

Android app that speaks notifications
https://voicenotify.app
Apache License 2.0
166 stars 57 forks source link

[Feature Request] Delete notifications that have already been read. #139

Open megamuzzy opened 2 months ago

megamuzzy commented 2 months ago

It would be great if the app had the ability to clear notifications that have already been read.

For example, when using Telegram, the last messages from each chat are reread many times.

Thanks!

alystair commented 2 months ago

I'm not for or against this... however if anything like this is implemented it'd have to be off by default and then enabled on a case by case basis as I feel there'd be situations you really don't want it to clear notifications.

rakolambski commented 2 months ago

Having Voice Notify not re-read a notification that it already read (so, deleting it from the speaking queue) would be handy, but I wouldn't want VN removing notifications that don't belong to it (assuming Android app permissions allow it), without a default OFF for the feature.

For example, if I've stepped away from my phone at just the wrong time, and a notification is read without me hearing it, I would not want it to disappear.

Something like the Tasker automation app might be able to delete old notifications from Telegram, assuming Telegram provides the proper API hooks.

pilot51 commented 2 months ago

I'll have to think about it. That kind of stretches the scope of Voice Notify and I'm trying to keep it pretty narrow so I can better focus on core issues. I can see it being useful when the user only wants the notifications so they can be spoken, but if the idea is to just prevent them from being respoken, I don't think this is an ideal solution.

The issue that brought up this request should mostly be resolved with #95. It's a priority for the next release, I just need to spend more time on the project and get around to it.

There is also an issue with group notifications where Android reposts all notifications in a group when a new notification is added to it. I don't yet know if that can be reliably filtered out.