// The commands, as the Rust functions are named; the ACL slugs them // (`allow-pick-folder`, …) into permissions/autogenerated. const COMMANDS: &[&str] = &["pick_folder", "all_files_access", "request_all_files_access", "pick_image", "pick_file"]; fn main() { // Registers the command permissions and, on Android, hands the Gradle // module under android/ to tauri-build, which includes it in the app // project (tauri.settings.gradle) — only with TAURI_ANDROID_PROJECT_PATH // set, see ANDROID.md. tauri_plugin::Builder::new(COMMANDS) .android_path("android") .build(); }