pub async fn request_permission() -> Result<Permission, Error>
Expand description
Requests the permission to send notifications.
ยงExample
use tauri_sys::notification;
let perm = notification::request_permission().await?;
pub async fn request_permission() -> Result<Permission, Error>
Requests the permission to send notifications.
use tauri_sys::notification;
let perm = notification::request_permission().await?;