콘텐츠로 이동

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.