Is it possible to call the event listener from window.open() inside an Ionic 2 application?
This tutorial does it brilliantly http://www.joshmorony.com/integrating-ionic-2-with-the-dropbox-api-part-2/ however, using inAppBrowser is obviously native. I want to extract the token in development from the ‘ionic serve’ command.
Ionic 1 forums discuss this, which isn’t bearing any fruit for me.
var authenticate = window.open(url, ‘_blank’, ‘location=no,toolbar=yes’);
authenticate.addEventListener(‘loadstart’, function (event) {
});
Thanks
Cameron