linking.url
The URL that last opened the app, starting with the one it launched with; null when no link opened it. Watched, it follows each link that opens the app while it runs.
Usage
Open a URL and inspect incoming links
import { watch, linking } from 'kuito';
await linking.open('https://www.tvmaze.com');
if (await linking.canOpen('mailto:hi@example.com')) await linking.open('mailto:hi@example.com');
linking.url.value; // 'kuito://show/42', or null
watch(linking.url, (url) => console.log(url)); // in a componentProperties and methods 1
| Name | Type | Required | Description |
|---|---|---|---|
valuereadonly | string | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.