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..
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
Post a Comment