Feature Request: Match Android's Do Not Disturb behavior for notifications / send priority notifications in DND mode.
Currently, Gadgetbridge has the ability to prevent all notifications from sending to a device when Android is in Do Not Disturb mode. However, for some users, it would be convenient if Gadgetbridge continued to send notifications to the device if they are priority notifications that break through Android's Do Not Disturb filter.
From a little research, this might be as simple as running
matchesInterruptionFilter () on the notification and sending it along if it returns
true, or skipping it if it returns
false. That being said, I'm not much of an Android developer and haven't even been able to get Gadgetbridge to compile (that's another issue), so maybe there's a reason this wouldn't work that I haven't considered.
This behavior would be very helpful for me, as it would allow me to keep my phone in Do Not Disturb sometimes but continue to use my watch for the purpose I bought it for: to be a more reliable method of notifying me of important events than my phone, whose sounds/vibrations I often miss when it's bouncing around in my pocket.
Before reporting a bug, please confirm the following:
I got Gadgetbridge from:
If you got it from Google Play, please note that version is unofficial and not supported here; it's also often quite outdated. Please switch to one of the above versions if you can.