facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.78k stars 3.54k forks source link

First connection not working in iOS 14.5 (HTTP/3) #1808

Closed Arwantys closed 2 years ago

Arwantys commented 3 years ago

Checklist before submitting a bug report

Xcode version

12.5.1

Swift version

No response

Installation platform & version

1.10.1

Package

Login

Goals

I want to make a simple connection to my Facebook account.

Expected results

An error occurs in Safari (lost connection) during the first connection and the application is not yet added to the Facebook account (The application is however added to the Facebook account, but nothing is returned)

Actual results

Screenshot at Jul 25 20-43-14

Steps to reproduce

An iPhone running iOS 14.5, model 11 Pro (not tested on other models) The bug is present on all applications (Pinterest, Vinted ...)

Code samples & details

No code, I develop on Flutter with the SDK in dependencies
Arwantys commented 3 years ago

After a lot of research, I found out what the problem is.In the experimental features of Safari, enabling HTTP/3 crashes the SDK. I don't know if this is intentional or just that you don't support it yet.

joesus commented 3 years ago

Thanks for flagging! Will look into this. :D

jawwad commented 2 years ago

Hi @mlorthios - We did a quick test weren't able to replicate the crash with HTTP/3 turned on. So its possible that if there was an issue originally (either on Apple's end or on the SDK side) it has been fixed. Since we can't reproduce at the moment I'm going to close this out. However let us know if you still experience the issue with the latest iOS SDK when HTTP/3 is turned on.

cc @samodom