Cordova plugin for opening a URL in the users default browser. This plugin only works in Electron apps.
cordova plugin add cordova-plugin-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.
- Electron
MIT License