facebook-ios-sdk-4.38

Facebook login is failing sometimes in iOS SDK 4.38.0

梦想的初衷 提交于 2020-01-02 23:01:21
问题 Everything was working fine before. Now I changed few things: updated to Xcode 10.0 (10A255) updated to Facebook iOS SDK 4.38.0 Now what is happening, sometimes login is getting failed. It is happening on both iOS 12 Device and Simulator. Before I didn't see this issue. My login code is below: if (![FBSDKAccessToken currentAccessToken]) { FBSDKLoginManager *loginManager = [[FBSDKLoginManager alloc] init]; [loginManager logInWithReadPermissions:@[@"email"] fromViewController:self handler:^