I am using Ionic and Oauth.io to perform authentication. If I run ionic serve
and include the outh.js
file in my index everything works good from the browser.
But when I run ionic run ios
or install the app in android, I get the following error when I press the auth button (the one that suppose to execute OAuth.popup
I do not know what to do, until now I have checked the following:
- In config.xml I have access, allow-intent and allow-navigation full permisive
- I have installed and re-installed the plugin
ionic plugin add https://github.com/oauth-io/oauth-phonegap.git
- I tried to run the native app without the inclusion of the oauth.js file and everything breaks.
- Using current versions up to date.
- I am new to Ionic, so I don't know how to debug the device-running app or simulator.
- Could be similar to this post but not exactly .
Your advices will be appreciated.