(url, isConsole = false)
| 4 | const SERVICE = 'Browser'; |
| 5 | |
| 6 | function open(url, isConsole = false) { |
| 7 | const ACTION = 'open'; |
| 8 | const success = () => { }; |
| 9 | const error = () => { }; |
| 10 | const theme = themes.get(settings.value.appTheme).toJSON('hex'); |
| 11 | cordova.exec(success, error, SERVICE, ACTION, [url, theme, isConsole]); |
| 12 | } |
| 13 | |
| 14 | export default { |
| 15 | open, |