1.0.0 • Published 11 months ago
cordova-plugin-default-browser v1.0.0
Cordova Plugin Default Browser
Cordova plugin for opening a URL in the users default browser. This plugin only works in Electron apps.
Installation
cordova plugin add cordova-plugin-default-browser
Usage
Open URL in default browser
cordova.plugins.defaultBrowser.open(url);
Parameters:
- url: The URL to open in the default browser. Type: string. Required.
NOTE: The URL must contain the protocol (e.g. http:// or https://). Otherwise an error will be thrown. This is for security reasons.
Supported Platforms
- Electron
License
MIT License
Credits
1.0.0
11 months ago