[Rails] Phonegap + Rails to render the views. How does Facebook Connect work then?

2013-11-18 Thread Fai Wong
Hi everyone, I'm learning Phonegap and stumbled upon this solution which demonstrated that views can be dynamically rendered through Rails hosted on Heroku: - http://stackoverflow.com/questions/11713997/using-phonegap-as-a-native-container-for-a-rails-3-app It seems to be a good solution, but

Re: [Rails] Phonegap + Rails to render the views. How does Facebook Connect work then?

2013-11-18 Thread Dave Sims
One solution might be to hand off authentication to a native control, use the native FB SDK to authenticate and get the token, and then back to the PhoneGap webview. I've used this hybrid approach with Rails and PhoneGap, and it's been a decent compromise. Use Rails for what it does well, but