Cordova inappbrowser doesn't open in new webview on Android -


i have problem cordova inappbrowser plugin (within ionic app, if relevant).

i try open new webview url (for authentication purposes). should new webview, need loadstart event in original cordova-webapp.

the following code works within ios expected, on android seems open url within same webview (and not in _blank, specified). miss something, or bug?

var browserref = window.open(flatserverurl+'/tokenlogin?redirect=http://localhost/callback', '_blank', 'location=no,clearsessioncache=yes,clearcache=yes'); browserref.addeventlistener('loadstart', function(event) {   // url }); 

system info:

  • cordova 4.3.0
  • com.ionic.keyboard 1.0.4 "keyboard"
  • cordova-plugin-inappbrowser 1.0.1-dev "inappbrowser"
  • org.apache.cordova.console 0.2.13 "console" org.apache.cordova.device
  • 0.3.0 "device"

tested on nexus 4 android 5.1.1 , 2 genymotion android emulators (4.4.4 , 5.0.1)


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -