capacitor-linking
v0.0.6
Published
The Capacitor Linking Plugin provides functionality similar to React Native’s Linking module
Downloads
2
Readme
capacitor-linking
The Capacitor Linking Plugin provides functionality similar to React Native’s Linking module
Install
npm install capacitor-linking
npx cap sync
API
openURL(...)
openURL(options: { url: string; }) => Promise<void>
| Param | Type |
| ------------- | ----------------------------- |
| options
| { url: string; } |
canOpenURL(...)
canOpenURL(options: { url: string; }) => Promise<{ canOpen: boolean; }>
| Param | Type |
| ------------- | ----------------------------- |
| options
| { url: string; } |
Returns: Promise<{ canOpen: boolean; }>