[英]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. Facebook login kit with iOS 12 works just fine, Facebook login kit with iOS 13 doesn't allow the opening of fbauth2 urls. This has been verified here: https://forums.developer.apple.com/thread/117704
这已在此处得到验证: 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. 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.
does anyone have a fix for this issue?有没有人解决这个问题?
Upgrading to the current FBSDK should resolve the problem.升级到当前的 FBSDK 应该可以解决问题。
FBSDKCoreKit/FBSDKCoreKit/Internal/BridgeAPI/FBSDKBridgeAPI.m was modified to support iOS 13's requirement to implement ASWebAuthenticationPresentationContextProviding in FBSDKCoreKit 5.4.修改了 FBSDKCoreKit/FBSDKCoreKit/Internal/BridgeAPI/FBSDKBridgeAPI.m 以支持 iOS 13 在 FBSDKCoreKit 5.4 中实现 ASWebAuthenticationPresentationContextProviding 的要求。 The current version is 5.8.
当前版本是 5.8。 Versions prior will no longer work.
之前的版本将不再有效。
The needed change is posted here: https://github.com/facebook/facebook-ios-sdk/commit/6b061099f339ef0e8bde2e2c2163ef5a3c1b8340#diff-72593591275d63edfb1bfad837e4c32f所需的更改发布在此处: https://github.com/facebook/facebook-ios-sdk/commit/6b061099f339ef0e8bde2e2c2163ef5a3c1b8340#diff-72593591275d63edfb1bfad837e4c32
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.