Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook-unity-sdk not using iOS native SSO

I'm working with Unity 4.6 and Facebook Unity SDK 6.0.

On Android things appear swell, but on iOS I don't seem to be utilizing the native Facebook SSO. It constantly reverts to the browser-based login, which really gives off a unprofessional vibe.

I've tested this on ten different devices, all using both Developer certificates.

And I've gone through the following checklist:

  • XCode on running recieves no errors or logs that should indicate anything wrong, yet still uses the old "browserbased" login solution.
  • This also applies when i use the example scene contained in the SDK.
  • The app is enabled for SSO in Facebook Developer console, and the bundle IDs match.
  • The FBXXXXXXXXX URL sceme is in the info.plist and appears just fine in XCode.
  • The FacebookAppID key in the info.pList is also set, and uses the numerical facebook app id.
  • In facebook, the app is open to the general public, has the contact email required, and the iOS bundle is configured.

I've tried with both developer, admin and "stranger" accounts, and not a single one could get the native iOS facebook login.

Have anyone met this ? Most similar cases I could find are over a year old and does not really apply to this.

like image 511
Nils Munch Avatar asked Nov 26 '14 12:11

Nils Munch


People also ask

What is Facebook SDK for iOS?

What is the Facebook SDK? The Facebook SDK is what allows mobile app developers to integrate Facebook within a mobile app. SDK stands for software development kit, and it allows for a website or app to integrate with Facebook seamlessly.


1 Answers

In Facebook SDK 7.2 change shareDialogMode in Unity itself in MobileFacebook.cs enter image description here

like image 166
Greg Lukosek Avatar answered Oct 28 '22 12:10

Greg Lukosek