tauri-plugin-intent 0.1.0

Tauri plugin for handling Android and iOS intents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use tauri::{command, AppHandle, Runtime};

use crate::models::*;
use crate::IntentExt;
use crate::Result;

#[command]
pub(crate) async fn open_intent<R: Runtime>(
    app: AppHandle<R>,
    payload: OpenIntentRequest,
) -> Result<OpenIntentResponse> {
    app.intent().open_intent(payload).await
}