capacitor-browser-opener
v0.0.3
Published
A basic alternative to capacitor's in-app browser without increasing minSdk
Downloads
208
Readme
capacitor-browser-opener
A basic alternative to capacitor's in-app browser without increasing minSdk
Install
npm install capacitor-browser-opener
npx cap sync
API
openInExternalBrowser(...)
openInExternalBrowser(model: OpenInDefaultParameterModel) => Promise<void>
| Param | Type |
| ----------- | ----------------------------------------------------------------------------------- |
| model
| OpenInDefaultParameterModel |
reload()
reload() => void
Interfaces
OpenInDefaultParameterModel
| Prop | Type | Description |
| --------- | ------------------- | -------------------------------------------------------------------------------------- |
| url
| string | The URL to be opened. It must contain either 'http' or 'https' as the protocol prefix. |