Oauth.io and Ripple InAppBrowser Emulation

I am making a mobile app with Cordova and I am using oauth.io to connect to facebook.

It works great when I deploy my app to my Samsung Galaxy S5 phone.

However, when running my app in debug with Ripple, I get this screen when oauth calls facebook.

in app browser error

I tried to use the browser's oauth.io javascript file (it displays the browser version correctly when I run the app) but still get the error.

Also tried adding the InAppBrowser plugin to my project config.

edit: here is a more detailed error I just found in the console.

enter image description here

+3


source to share


1 answer


I found that using Ripple broke many ngCordova plugins, I highly recommend using one of the following for testing:

Terminals:
ion service
ion feed --lab

or click on the Ionic View app :



Terminals:
ionic loading

and use the Ionic View app on your handheld device, perfect for IOS .

Hope this helps and good luck.

+1


source







All Articles