Inside the app, sometimes have to jump to your phone's web page in such demand, then the front end with cordova packaged app, how to achieve it jump?
cordova has a plugin cordova-plugin-inappbrowser
, the official document: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/index.html
One way to achieve
cordova.InAppBrowser.open(url, target, options);
When the target is _system, you can achieve the jump to an external app
cordova.InAppBrowser.open('https://mint-ui.github.io/docs/#/zh-cn2', '_system', 'location=no,toolbar=yes,toolbarposition=top,closebuttoncaption=关闭');