Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
739 stars 426 forks source link

Preserve file name #335

Open rodineijf opened 2 years ago

rodineijf commented 2 years ago

💬 Questions and Help

How can I preserve the file name of the cached object?

I'm storing the file to share it posteriorly using the putFile method to save and the getFileFromCache to retrieve it but I'm losing the file name in this process. Is there any way of preserving the file name or shall I implement my putFile method?

renefloor commented 2 years ago

At this moment there is no way to preserve the file name. I think this is a good feature though, because this is useful for more people.