You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
I have integrated latest Swift SDK with my app. When I click on Login button,I can able to navigate to safari browser and after successful login and confirm page, login button delegates called with cancelled status. What could be the issue?
Also, I can able to return back to my app only on iOS versions < 9.0 and on versions iOS 9.0+ I can't able to return back to my application.
The text was updated successfully, but these errors were encountered:
Guys, I found the issue and its because of APP Transport Security.
I have added below keys in plist to resolve my issue and now its working fine in all iOS versions.
NSAppTransportSecurity
And pass the URL to FBSDKApplicationDelegate. That's it. Login works as expected now
What broke for some people that already implement this is that it is fairly common to only pass the fb authorize URL to the sdk delegate (as you should!) and it is common to do
if url.scheme!.hasPrefix("fb\(FBSDKSettings.appID())")
I have integrated latest Swift SDK with my app. When I click on Login button,I can able to navigate to safari browser and after successful login and confirm page, login button delegates called with cancelled status. What could be the issue?
Also, I can able to return back to my app only on iOS versions < 9.0 and on versions iOS 9.0+ I can't able to return back to my application.
The text was updated successfully, but these errors were encountered: