Skip to content
Tauri

getCurrent

getCurrent(): Promise<null | string[]>

Defined in: index.ts:23

Get the current URLs that triggered the deep link. Use this on app load to check whether your app was started via a deep link.

Promise<null | string[]>

import { getCurrent } from '@tauri-apps/plugin-deep-link';
const urls = await getCurrent();

Note that you must manually check the arguments when registering deep link schemes dynamically with [Self::register]. Additionally, the deep link might have been provided as a CLI argument so you should check if its format matches what you expect..

2.0.0


© 2025 Tauri Contributors. CC-BY / MIT