John Costa 61e9258538 feat: saveToken plugin for app groups on iOS
This will allow the share extension to access the Bearer token to send
images to the backend.
2025-05-01 18:20:26 +01:00

14 lines
284 B
Rust

use tauri::{AppHandle, command, Runtime};
use crate::models::*;
use crate::Result;
use crate::IosSharedTokenExt;
#[command]
pub(crate) async fn ping<R: Runtime>(
app: AppHandle<R>,
payload: PingRequest,
) -> Result<PingResponse> {
app.ios_shared_token().ping(payload)
}