I’m using firebase and testing their OAuth library to authenticate with Facebook. This is supposed to launch Facebook’s login page in a pop-up. This works great on a desktop, but when I try with Ionic View the Facebook page does load, but upon authentication does not redirect back to my Ionic app. I believe this is because the page was not loaded as a pop-up, and I believe the “InAppBrowser” browser did not get invoked correctly.
That made me think perhaps Ionic View doesn’t allow access to Cordova?
I have the appropriate tag in my header.
As a test, I’m checking my controller if window.cordova is defined. It appears to be null/undefined.
As another test, I tried launching a website just to see if the InAppBrowser was working by doing this:
This does launch the page, but doesn’t display “popup frame with an option to close” as noted in the below troubleshooting tips: https://github.com/firebase/firebase-login-demo-phonegap/issues/5
So my conclusion is that Ionic View isn’t loading Cordova. Is that correct? Is that a feature request/bug/or am I doing something wrong?