javascript - how to launch inappbrowser when a webpage is loaded in webview -
i launching web page in worklight 6.2 container (for android , ios) clicking button on index.html page. in web page have used window.open(url,"_blank","location=yes") launch external website in inappbrowser, launches in webview instead of inappbrowser. assume happening because loosing cordova plugins when ever webpage loaded in webview. when write window.open(url,"_blank","location=yes") able launch external url in inappbrowser. there way have same behavior of launching inappbrowser webpage in cordova/worklight webview.
_self: opens in cordova webview if url in white list, otherwise opens in inappbrowser. _blank: opens in inappbrowser. _system: opens in system's web browser. use self instead of blank
Comments
Post a Comment