Safari web view opening when logging to FB through iOS 9

随声附和 提交于 2019-11-28 09:58:10

From a product manager at Facebook in the "Facebook Developer Community" group.

And my Reply, still waiting for a response:

So it sounds like with SDK 4.6 they are forcing every login to use the Safari View Controller.

EDIT ----

And their response:

From FacebookSDK version 4.6 and above, they are forcing every login to use the Safari View Controller on iOS 9.

There are 2 way to fix this:

  1. Use the lower version of SDK
  2. Enable native app login again by using this code https://github.com/tuantmdev/MTNativeFacebookLogin

Hope this help!

We’ve seen hard numbers about this exact issue. On October 8 we released the first version of the app with FBSDK 4.6 In the same update we made our login flow more prominent in the UI, so we saw a significant uptick on email signups. However, our Facebook logins went down at the same time. This effect did not occur for iOS 8 users (email and facebook logins went up together). Here is a graph. Red is email signups, blue is facebook for iOS 9 users only.

Facebook vs Email signups chart

tl;dr The latest update to the Facebook SDK killed our facebook conversion rates!

@ CanAksoy Is Facebook seeing the same effect internally? I agree that our interests are aligned here, what trend has moving everyone to Safari had on your conversion rates globally?

for opening the Facebook app -

Open your plist as source code , And add the following code -

 <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>fbapi</string>
        <string>fb-messenger-api</string>
        <string>fbauth2</string>
        <string>fbshareextension</string>
    </array>

It is working for me in iOS 9

I also did recieve FB login with Safari. But after setting up all config-s for iOS 9 (https://developers.facebook.com/docs/ios/ios9), login worked with FB app again (I'm using 4.4. SDK). Anybody else with this experience?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!