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
The problem only appears in Flutter Web with relative URIs from Firebase Storage (fileService: FirebaseHttpFileService() is used).
The same code works for iOS/Android.
In the console of Firebase Storage I see that the image has the correct MIME-type "image/jpeg".
All images which I tested (.png / .jpeg) have this problem.
Using -web-renderer html doesn't solve the problem.
If I use CachedNetworkImage() for the same picture from Firebase Storage with a fully qualified https-URL (instead of using FirebaseHttpFileService) then the picture is visualized correctly in Flutter Web.
Expected behavior
CachedNetworkImage should be able to visualize Firebase Storage pictures when using fileService: FirebaseHttpFileService() with relative paths.
🐛 Bug Report
When I try to load an image with "CachedNetworkImage()" I get the following error and the image can't be visualized:
fileService: FirebaseHttpFileService()
is used).-web-renderer html
doesn't solve the problem.Expected behavior
CachedNetworkImage should be able to visualize Firebase Storage pictures when using
fileService: FirebaseHttpFileService()
with relative paths.Reproduction steps
"imageUrl" is a relative path inside Firebase Storage.
Configuration
Version:
cached_network_image: 3.4.0
flutter_cache_manager_firebase: 2.1.1
Platform:
The text was updated successfully, but these errors were encountered: