Support new flutter_cache_manager 2.x #30
Comments
Thanks for reporting this, |
I've found the same thing. |
@amugofjava I have been trying to upgrade sometime back but deferred since a lot of the code for the I'll publish a migration guide soon after comparing memory footprint, since the cache manager library uses |
I was checking this today and it seems the benchmarks are still way off, almost like 9x difference in memory footprint, I feel this might be due to the use of |
Thanks @humblerookie, I did take a good look at the new Image support in the cache manager, but you're right here, their choice of image library is not as efficient. What I like about your package is that it's fast and more memory efficient than other packages I have tried. |
The flutter_cached_network_image always make my app crashes, maybe the fcm ver 2 uses a lot of memory as you mentioned. |
@winterdl @amugofjava I've updated this library to the new FCM, Here's the pre-release 2.0.0-dev.1. If you wish to try it out. Also the relevant PR |
Thanks @humblerookie - that's fantastic. Will give the pre-release a try and let you know how it goes. |
Thanks @humblerookie, I will try the update and let you know. I've just updated new version, this is the error logs:
|
I got this errors too. Any idea ? |
Hi @humblerookie, I am getting the same error with
The The result is that in |
@amugofjava @yenyichau Thanks for your feedback, I'll take a look |
@amugofjava, @winterdl Essentially the flutter_cache_manager uses the file package which has a conflicting name with the dart:io package File. Its silly but dart is shitty when it comes to compile-time safety checks. This issue is fixed via #36 . I've released a new version on pub |
Closing this issue feel free to reopen, in case there is any issue |
Thank you, it works, but I have to add dependency overrides for some package: |
Works for me @humblerookie, but I did need to check it out from source in order to update flutter_cache_manager in
|
Thank you for the lib, it's saved me from the crash of loading a lot images, but the lib using flutter_cache_manager 1.x, it's good if have a branch support flutter_cache_manager 2.x, because it's conflict with some packages I used in the app.
Thank you
The text was updated successfully, but these errors were encountered: