pub async fn is_permission_granted() -> Result<bool, Error>
Checks if the permission to send notifications is granted.
use tauri_sys::notification; let is_granted = notification::is_permission_granted().await?;