Skip to main content

PLUGIN_NAME

Constant PLUGIN_NAME 

Source
pub const PLUGIN_NAME: &str = "allframe-tauri";
Expand description

The plugin identifier used for Tauri 2 ACL resolution and IPC routing.

This must match the identifier that tauri_plugin::Builder in build.rs derives from the crate name (allframe-tauri). A mismatch causes:

allframe.allframe_call not allowed. Plugin not found

Frontend invocations use this identifier:

invoke("plugin:allframe-tauri|allframe_call", { handler: "greet", args: {} });