linking

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package linking opens URLs in other apps: https in the browser, tel:, mailto:, maps and app links in their apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanOpen

func CanOpen(ctx context.Context, url string) (bool, error)

CanOpen reports whether some app on the device can open url. New apps can ask about https, tel, sms and mailto. For any other scheme, list it in LSApplicationQueriesSchemes on iOS and in <queries> in the Android manifest, or the answer is false.

func Open

func Open(ctx context.Context, url string) error

Open opens url; it fails with plugin code "unavailable" when no app can.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL