Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook login for iOS 4.2.1 broken #14

Closed
dokterbob opened this issue Aug 23, 2011 · 3 comments · Fixed by #15
Closed

Facebook login for iOS 4.2.1 broken #14

dokterbob opened this issue Aug 23, 2011 · 3 comments · Fixed by #15

Comments

@dokterbob
Copy link
Contributor

On iOS 4.2.1 (iPhone 3GS), the Facebook API shows an in-app dialog for login.

However, the results of this do not seem to be handled properly. While logins that use a URL-scheme callback seem to be handled fine, the login data for old platforms seem to go nowhere.

Looking at old commits seems to suggest this bug popped up around cf2a115, but (partly) reverting this commit did not solve the problem for me.

@davejohnson
Copy link

Can you provide a little more information?

@dokterbob
Copy link
Contributor Author

First of all: thanks for the quick feedback!

When I use a real iOS 4.2.1 device (not a simulator) the error can be replicated as follows:

  1. Follow the exact steps for setting up the plugin on Xcode 4.
  2. Run the app on the device (not the simulator, it apparently allows multitasking).
  3. A Facebook login() has been fired and one has logged in using the in app dialog.
  4. 'Nothing' happends. The FB login callbacks are not fired at all.

The same happends when the FB API's are changed such that they are forced not to use the FB for login (ie. the FB code is explicitly told to assume no multitasking is possible).

@dokterbob
Copy link
Contributor Author

Please see the pull request in #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants