Skip to content

register

Module @netwiv/api/plugins/deep-link · Kind Function

import { register } from '@netwiv/api/plugins/deep-link';

Register the app as the default handler for the specified protocol.

function register(protocol: string): Promise<null>
import { register } from '@netwiv/api/plugins/deep-link';
await register("my-scheme");
  • macOS / Android / iOS: Unsupported.

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/plugin-deep-link@2.4.10 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.