// `update` and `clear` are ours. registerListener / removeListener are the
// mobile plugin runtime's own commands, the ones `addPluginListener`
// invokes to hear the `action` event — commands like any other to the ACL,
// and without them here the listener is refused and the notice's buttons go
// nowhere. The media-session plugin carries the same scar.
const COMMANDS: &[&str] = &["update", "clear", "registerListener", "removeListener"];

fn main() {
    // Registers the command permissions (permissions/autogenerated) and, on
    // Android, hands the Gradle module under android/ to tauri-build, which
    // includes it in the app project (tauri.settings.gradle) — but only with
    // TAURI_ANDROID_PROJECT_PATH set, see ANDROID.md.
    tauri_plugin::Builder::new(COMMANDS)
        .android_path("android")
        .build();
}
