flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

JsonCacheInfoRepository: Fails to persist due to a 3-second delay

Open gemunet opened this issue 5 months ago • 0 comments

🐛 Bug Report

There's a problem with data persistence. In the code, the JSON file is saved 3 seconds after each change, but if I make a change and close the app before 3 seconds have passed, my change is lost. I ran into this problem in production, and it's a hassle to fix. It's due to poor persistence management. I don't know if it can be fixed or if it's better to use another type of storage.

Image

Added to this problem is the bug reported here https://github.com/Baseflow/flutter_cache_manager/issues/450, which has not yet been fixed, so I recommend not using this module in production. It malfunctions and is unmaintainable.

Platform:

  • [x ] :iphone: iOS
  • [x ] :robot: Android

gemunet avatar Jul 29 '25 16:07 gemunet