android icon indicating copy to clipboard operation
android copied to clipboard

feature request: permanent notification

Open iddq opened this issue 1 year ago • 3 comments

Please make the .setOngoing property of the notification remotely accessible.

iddq avatar Sep 11 '24 11:09 iddq

Describe your use-case. The android docs specify that "the application or service must take care of canceling them". How do you envision this? https://developer.android.com/reference/android/app/Notification.Builder#setOngoing(boolean)

jmattheis avatar Sep 13 '24 17:09 jmattheis

When creating the notification, we would provide the ID, which we could later use in a cancel request and thus revoke the previously created notification, regardless of whether it is permanent or not. Controllability of setAutoCancel would also be useful.

The permanent notification is advantageous because the user cannot delete it. Revoking a notification remotely can also be useful in certain situations. Sorry if your program already knows this, but I haven't noticed it yet.

iddq avatar Sep 13 '24 18:09 iddq

Hmm, I don't think many users need this, let's wait for some feedback from other users.

jmattheis avatar Sep 18 '24 17:09 jmattheis