繁体   English   中英

Facebook 登录套件,带有 iOS 13“canOpenURL:URL 失败:“fbauth2:///”

[英]Facebook Login kit with iOS 13 "canOpenURL: failed for URL: “fbauth2:///”"

Facebook login kit with iOS 12 works just fine, Facebook login kit with iOS 13 doesn't allow the opening of fbauth2 urls. 这已在此处得到验证: https://forums.developer.apple.com/thread/117704

and i've verified this myself by trying FB login on my iPhone 6s Plus external device with iOS 13, and with simulators running both iOS 12 and iOS 13. Every device with iOS 13 fails to open FB urls.

有没有人解决这个问题?

升级到当前的 FBSDK 应该可以解决问题。

修改了 FBSDKCoreKit/FBSDKCoreKit/Internal/BridgeAPI/FBSDKBridgeAPI.m 以支持 iOS 13 在 FBSDKCoreKit 5.4 中实现 ASWebAuthenticationPresentationContextProviding 的要求。 当前版本是 5.8。 之前的版本将不再有效。

所需的更改发布在此处: https://github.com/facebook/facebook-ios-sdk/commit/6b061099f339ef0e8bde2e2c2163ef5a3c1b8340#diff-72593591275d63edfb1bfad837e4c32

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM