I have promised Facebook, Google, Twitter and LinkedIn SSO for my client as I saw that Steroids offers them as add-on services. I want to be able to use native login as much as I can and only then fall back to in-app browser. However, I first wanted to try the libraries out by myself with official PhoneGap plugins and see out if I run into some troubles.
What I found out was a little distracting. I was able to get https://github.com/Wizcorp/phonegap-facebook-plugin to kind of function (sometimes it mistakenly directs me to browser login, sometimes opens up popup twice on Android). But I tried both official Oauth.io PhoneGap plugin (https://github.com/oauth-io/oauth-phonegap) and ngCordovaOauth module (https://github.com/nraboy/ng-cordova-oauth) and both of them made my app crash. More specifically, both of them had troubles executing
window.cordova.InAppBrowser.open. I also tried
window.open as proposed here: https://medium.com/@mo_zag/ng-cordova-oauth-js-use-with-appgyver-9614be3ad07b#.7mx29a4wi but with no luck.
So Steroids OAuth.io also utilizes the same PhoneGap plugin which I couldn't get to work by myself. Now my question is: is paid Steroids add-ons currently production-ready?