Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook iOS SDK 4.6 still ask for facebook login by safari even already login in device settings->facebook

I'm using Facebook SDK 4.6 and compile my iOS app with XCode7beta5. The app will use Facebook account details to signin our iOS app. However, even already login in device settings->facebook. The login api in Facebook SDK still ask for facebook login by safari (happen in iOS8.4.1 or iOS9beta5 once my iOS app using Facebook SDK 4.6 compile with XCode7beta5). My previous iOS app version that using an older Facebook SDK version could work properly (i.e. able to use login in device settings->facebook) Besides, I already follow steps in https://developers.facebook.com/docs/ios/ios9 to setup my iOS app to use Facebook SDK 4.6. Anything I missed? Please help.

like image 316
Arthur Avatar asked Nov 09 '22 06:11

Arthur


1 Answers

Here is the answer: Facebook Login does not return to App with Xcode 7 iOS 9

It seems that in SDK 4.6 Facebook prefer to open Safari View Controller by default than the Facebook App...

like image 74
Leonardo Bortolotti Avatar answered Jan 04 '23 01:01

Leonardo Bortolotti