I’m using this package:
and this cordova plugin :
When I do meteor run android-device or ios-device, it is working as expected ( It is fetching user info from the native Facebook app installed, and if the Facebook app isn’t installed it opening up a small modal asking the user to sign in into Facebook).
Now the problem is that when I deploy this application and build it into APK (or on XCode - App Store), the native login isn’t working as expected and is showing up in an ugly in-app browser (which is a huge turn off to the users). Here’s a screenshot of the in-app browser login (which shouldn’t happen) : http://i.imgur.com/2iXYVPB.jpg
So basically the problem is the login is working fine under development mode, but it isn’t when the app is built. And I have tried passing in the production server url into meteor run android-device, in which, interestingly, the login is working fine.
Please help. Thanks!