Bug 475692 - Allow selectively disabling localOnly flag in the notification plugin
Summary: Allow selectively disabling localOnly flag in the notification plugin
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Other Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-16 11:31 UTC by Martin
Modified: 2023-10-16 11:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2023-10-16 11:31:34 UTC
SUMMARY
KDE Connect sends all notification marked as localOnly - https://developer.android.com/reference/android/app/Notification.Builder#setLocalOnly(boolean)

This sounds reasonable, but in some cases it would be nice to signal to other applications that notification *should* be forwarded further, for example when trying to use KDE Connect to synchronize notifications to GadgetBridge, see https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3384

STEPS TO REPRODUCE
1. Use notify-send to create a notification on a linux desktop connected to an android
2. KDE Connect on Android receives notification and pushes it to Android notifications as localOnly
3. GadgetBridge sees the notification, but does not react to it as it is localOnly
4. Notification does not get synchronized to a watch that GadgetBridge is connected to

OBSERVED RESULT
No notification on watch

EXPECTED RESULT
User can configure specific applications to be able to drop the flag and watch thus receives the notification

SOFTWARE/OS VERSIONS
KDE Connect 23.08.2 on Arch Linux