New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't forward ephemeral download/service notifications to wearable devices #6510
Comments
Hmm, I don't think it is a good idea to generally hide all download notifications from connected devices. That could be unexpected for other users.
AntennaPod already specifies |
Fair point - I s'pose I could imagine someone wanting to monitor the download progress from their watch or computer (e.g. KDE Connect) if their connection is rather slow. Considering I never see the
Hmm. In that case, I'm not sure if it's Gadgetbridge ignoring the flag, or the way the Bangle.js handles receiving alerts from Gadgetbridge. The frequent notification percentage updates seems to temporarily overwhelm the watch as it can take 15+ seconds just to stop showing updates once AntennaPod finishes. I've linked to this issue on the Espruino forums for Bangle.js over here: https://forum.espruino.com/conversations/388123/ |
Closing, as AntennaPod behaves as intended (using |
I'll continue the discussion with the |
Small positive update: With the changes to service notifications in AntennaPod 3.1.0, I haven't recreated the issue with refreshing/downloading notifications spamming my watch via Gadgetbridge (0.75.1; not upgraded to 0.76 yet as it hasn't yet rolled out over F-Droid). The "Loading... If this does not go away" message still occasionally lingers, but I suspect that's a Gadgetbridge bug. |
Checklist
App version
3.0.2
Where did you get the app from
F-Droid
Problem you may be having, or feature you want
Currently, AntennaPod download and service notifications are forwarded to wearable devices, e.g. the Bangle.js watch when paired with Gadgetbridge.
This results in spamming the list of notifications when refreshing podcasts and with every percentage change when downloading media, and generates a useless
Loading. If this does not go away, play any episode and contact us.
message, too.Suggested solution
AntennaPod should specify
setLocalOnly(true)
for download and service notifications.E.g. this (untested) change to
PlaybackServiceNotificationBuilder.java
:And this (untested) change to
DownloadServiceNotification.java
:This copies the approach taken by a recent KeePass2Android update, which removed some useless notifications from showing up on wearables there, too.
Screenshots / Drawings / Technical details
This makes use of the Notification.Builder
setLocalOnly()
function:The text was updated successfully, but these errors were encountered: