tauri-plugin-screen-wake-lock 0.1.0

A Tauri plugin to keep the screen awake while enabled (desktop only).
Documentation
1
2
3
4
5
6
7
8
const COMMANDS: &[&str] = &["set_enabled", "is_enabled", "is_supported"];

fn main() {
  tauri_plugin::Builder::new(COMMANDS)
    .android_path("android")
    .ios_path("ios")
    .build();
}