Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loading image from Firebase storage doesn't work after update to latest Flutter [closed]

After updating to the latest Flutter, I got issues loading images from Firebase storage. This error in detail: Another exception was thrown: HTTP request failed, statusCode: 0, (link of image from fb storage) What I tried:

  • I tried to update all firebase and http packages, still it did not work

  • I tried to turn of windows firewall, still did not work

What could be the problem? I had no problem with this before updating to flutter latest version, is there anyone who can help?

like image 479
Keannu Gran Avatar asked Nov 16 '25 06:11

Keannu Gran


1 Answers

I just needed to setup CORS in Firebase Storage, because of the new update of flutter(3.29) in the Image.network widget

Link for setting up cors: https://codingwitht.com/how-to-view-cloud-images-in-flutter-web-enable-cors/

like image 144
Keannu Gran Avatar answered Nov 18 '25 20:11

Keannu Gran