Issue with cordova-plugin-inappbrowser in iOS on Ionic View


#1

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?


Login / InAppBrowser support for Ionic View
#2

That’s correct, Ionic View doesn’t support inAppBrowser. Check out Does Ionic View support Cordova/InAppBrowser? for more info.


#3

Hola también tengo este problema de inAppBrowser en ios.
¿Existe alguna solución alternativa?