Sometimes 'FileSystemException: cannot open file, No such file or directory'
In my app, when a user get to the dashboard, some data is fetched from Firebase Firestore, and each document contains an image url, specifically the url obtained uploading an image to Firebase Cloud Storage.
The image is loaded like:
DecorationImage(
image: CachedNetworkImageProvider(imageUrl),
fit: BoxFit.cover,
);
The problem is that sometimes the image is loaded correctly without any problem, sometimes an error occurs:
FileSystemException: Cannot open file, path = '/data/user/0/com.example.myapp/cachecache/919b2e10-9620-11e8-8cce-0beb9308d197.octet-stream' (OS Error: No such file or directory, errno = 2)
This happens only with images urls uploaded on cloud storage, not with a simple .jpg url.
Did anyone catch this issue?
+1
Please re-open if it is still an issue.
It happens a lot...
@renefloor still facing this issue any fixes or suggestion to resolve this issue ?