My app uses an FBSDKShareButton
, which launches a popup from the native Facebook app on iOS 8. However, on iOS 9 it launches a browser window, even though I've followed all the instructions for supporting iOS 9 here and added the necessary LSApplicationQueriesSchemes
(and recompiled for iOS 9).
I keep reading that it's "by design" that the facebook login opens a browser instead of the native app on iOS 9, but there's no info on why/whether the share button is supposed to launch the native app. It appears that the share dialog (FBSDKShareDialog
) indeed launches the native app, but I'd like to avoid using my own button if I can.
And a secondary question: if I do use my own button and launch an FBSDKShareDialog
, I get the following errors in the log (although the actual sharing seems to work fine). Why?
-canOpenURL: failed for URL: "fbapi20150629:///" - error: "This app is not allowed to query for scheme fbapi20150629"
plugin com.apple.share.Facebook.post invalidated
I'm using the latest Facebook SDK (v4.6), so the referenced URL scheme should not be necessary. I'm compiling with Xcode 7.0.1.