Open
Description
Describe the problem
I couldn't find any issues related to this or anything in the documentation about requiring interaction to close notifications. In web browsers, I can use requireInteraction: true
to make the notification "persistent" until closed. There doesn't seem to be a way to do this in Tauri unless I missed something.
Describe the solution you'd like
It would be great if the options for the sendNotification
options to include a flag for requireInteraction
.
Example of a persistent notification:
Alternatives considered
https://developer.mozilla.org/en-US/docs/Web/API/Notification
Additional context
https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction