I’m trying to test my app in which I’m having a login form for an OAuth privider.
I’ve used hello.js as well as satellizer but although both solutions works well in Android - Ionic view app,
I can’t get it to open the pop up on iOS.
I have added cordova-plugin-inappbrowser to the app
I’ve even tried this in run function of the app:
document.addEventListener(“deviceready”, onDeviceReady, false);
function onDeviceReady() {
window.open = cordova.InAppBrowser.open;
}
is it possible that ionic view on iOS doesn’t support inAppBrowser and so window.open won’t be fired at all?
if not, is there any library that can really function in both Android as well as iOS for OAuth 2 authentication?