I want to make sure to launch inappbrowser only if I am on devices (iOs, Android...), but if I am in browser (local development mode or just a Web App with gulp build), I wa
With this you can detect if you are in a browser:
if(window.hasOwnProperty('cordova')){ /* use webview */ } else { /* use browser link */ }