cordova - Phonegap inappbroswer events w'ont fire -


i using phonegap latest version (3.4.0) , trying implement google aouth login. have added inappbroswer plugin project, , tryed use object events (loadstart,loadstop,loaderor,exit) seems dont fire.

my code simple, looks this:

ref  = window.open('http://apache.org', '_blank', 'location=yes'); ref.addeventlistener('loadstart', function() { alert('start' ); }); 

i running app on ripple eulator

i have looked solution on web , have'nt fine one. question if know of working sulotion this?

thanks all.

update . have tryed inappbroswer plugin on fresh new phonegap app created testing this, , plugin doesn't work! phone gap version 3.4.0-0.19.7 , inappbroswer version latest. installed plugin via cli command cordova plugin add org.apache.cordova.inappbrowser

also have tryred run on normal android emulator , nothing far..

the plugin docs right there

this not answer question rather alternative easy solution, easy use , don't need go listening browser events. https://github.com/oauth-io/oauth-phonegap


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -