Safari web view opening when logging to FB through iOS 9

后端 未结 5 1718
清歌不尽
清歌不尽 2020-12-10 04:28

I\'ve followed this guide to update my application to use Facebook SDK 4.6 for iOS 9 SDK.

When I tap the login button now, a Safari view controller gets presented, w

相关标签:
5条回答
  • 2020-12-10 04:45

    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

    0 讨论(0)
  • 2020-12-10 04:47

    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?

    0 讨论(0)
  • 2020-12-10 04:55

    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!

    0 讨论(0)
  • 2020-12-10 04:57

    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?

    0 讨论(0)
  • 2020-12-10 05:06

    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:

    0 讨论(0)
提交回复
热议问题