Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Login always cancel iOS 13 Xcode 11 Beta 3 #482
Login With Facebook
Open Safari or app to perform login
Login always return cancel in the console, the error is nil
Steps to Reproduce
Tap on the login button
Code Samples & Details
Login Button code :
I stepped through the login flow found the following:
The error being thrown is being thrown by the domain "com.apple.AuthenticationServices.WebAuthenticationSession". This is thrown in the completion block defined in logInWithBehavior function in FBSDKLoginManager.m defined in FBSDKLoginKit.
Continuing on we find the problem is caught in the method _setSessionCompletionHandlerFromHandle from the file FBSDKBridgeAPI.m
When I login as a native app, I can not get a successful callback as well as success.
I also checked for v_5.0.2, but it's same. I never get any callback.
Did you guys try 5.2.1? CHANGELOG says login is fixed but I can't get it to work. It doesn't open Safari when fb app is not present.
@therealchriskondo I've also arrived at the same conclusion after debugging the issue. It was crashing my app on iOS13/SDK4.39.1 but it doesn't seem to crash @5.2.1
Hi, it was how i resolved my issue, pay attention
Getting the facebook user data