Schedule notifications #3149
-
|
Just wondering, there doesn't seem to be an option to schedule a notification for later in the API. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The underlying crate we use (notify-rust) supports this only on mac. But i don't see a implementation in tauri happening until it's properly implemented upstream, so in the time being this would be DIY with the above mentioned workaround :/ |
Beta Was this translation helpful? Give feedback.
The underlying crate we use (notify-rust) supports this only on mac.
As a workaround this could be added in a way that needs the tauri app running all the time, by "scheduling" it in a tokio task or std thread with
sleep(). Maybe setTimeout in js could work too, i don't know.But i don't see a implementation in tauri happening until it's properly implemented upstream, so in the time being this would be DIY with the above mentioned workaround :/