Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

539 B
Raw Blame
//! Android window, navigation, and file adapters for the shared web client.
#![deny(missing_docs)]

use tauri::Runtime;
use tauri::plugin::{Builder, TauriPlugin};

/// Registers native Android commands; the web client retains composer policy.
pub fn init<R: Runtime>() -> TauriPlugin<R> {
    let builder = Builder::new("android-mobile");
    #[cfg(target_os = "android")]
    let builder = builder.setup(|_app, api| {
        api.register_android_plugin("com.macro.mobile", "MobilePlugin")?;
        Ok(())
    });
    builder.build()
}