I use ‘$cordovaOauth’ for authentication with twitter, facebook and google in my app. Through the official app Ionic View, it runs natively ok, but when install the .apk in my android, my app returns an error saying ‘Cannot authenticate via a web browser when i use the $cordovaOauth’ .
Try installing in-app browser plugin http://ngcordova.com/docs/plugins/inAppBrowser/ and chek it.
This plugin was already installed:
$ cordova plugin add cordova-plugin-inappbrowser
Fetching plugin “cordova-plugin-inappbrowser” via npm
Plugin “cordova-plugin-inappbrowser” already installed on android.
Plugin “cordova-plugin-inappbrowser” already installed on ios.
I try to install and uninstall the plugin, but in the .apk I getting the message “Coul not find InAppBrowser plugin”. However when I run the app with Ionic View, I haven’t problems.