linking

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 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. iOS answers only for schemes listed in the app's LSApplicationQueriesSchemes (and always for https).

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