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
I have a web app that i developed on flutter 3.19.6 and i am currently using HTTP 1.2.1
var token = await user.getIdToken(); final http.Response response = await http.get( Uri.https(baseApiURL, '/user/${user.uid}'), headers: { 'Authorization': "Bearer $token", }, );
i am calling the http this way, but specifically on iOS when running on chrome or safari or any browser the console shows an error that the headers must not be empty. and my token gets shortened into wierd characters.
i already tested on chrome on windows, macOS and android and everything runs smoothly.
The text was updated successfully, but these errors were encountered:
mand027
changed the title
HTTPS requests not working on iOS when running from a web app
HTTPS requests not working on iOS when running from flutter web
May 6, 2024
I have a web app that i developed on flutter 3.19.6 and i am currently using HTTP 1.2.1
var token = await user.getIdToken(); final http.Response response = await http.get( Uri.https(baseApiURL, '/user/${user.uid}'), headers: { 'Authorization': "Bearer $token", }, );
i am calling the http this way, but specifically on iOS when running on chrome or safari or any browser the console shows an error that the headers must not be empty. and my token gets shortened into wierd characters.
i already tested on chrome on windows, macOS and android and everything runs smoothly.
The text was updated successfully, but these errors were encountered: