// The one command, as the Rust function is named; the ACL slugs it // (`allow-pending-share`) into permissions/autogenerated. const COMMANDS: &[&str] = &["pending_share"]; fn main() { // Registers the command permission and, on Android, hands the Gradle // module under android/ to tauri-build (only with // TAURI_ANDROID_PROJECT_PATH set, see ANDROID.md). The module carries // the ShareActivity and its intent filter, merged into the app's manifest. tauri_plugin::Builder::new(COMMANDS) .android_path("android") .build(); }