-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cached images stop working after cache expiration time #29
Comments
Could you turn on debug logging with |
Everything works until cache expires:
I will update when it expires and starts throwing errors again. |
Here we go. Note that there are no debug messages even though showDebugLogs = true.
|
I think I'm having a similar issue, but after rebuilding the app it is gone. @volgin please wrap the logs and codes in the code markup, your'e referencing other issues unintentionally. |
Hmm.. It doesn't directly show something I can work with, but I'll dig into it. Are you using version |
Yes, I am using 0.4.0-rc.1. Again, I commented out line 249 in flutter_cache_manager.dart, and it solves the problem. I hope it helps. This is the output after this line is commented out:
|
@volgin there was indeed something wrong with the headers. It should now be working fine in version 0.4.0. Thanks for helping. |
After about 24 hours Cached images with Google cloud storage URLs start throwing this error:
Failed assertion: line 362 pos 12: '_codec != null': is not true.
I tried to comment out this line of code in
flutter_cache_manager.dart
:if (eTag != null) { // headers["If-None-Match"] = eTag; }
and it solved the problem
The text was updated successfully, but these errors were encountered: