JsonCacheInfoRepository: Fails to persist due to a 3-second delay · Issue #491 · Baseflow/flutter_cache_manager · GitHub
Skip to content

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

Description

@gemunet

🐛 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 #450, which has not yet been fixed, so I recommend not using this module in production. It malfunctions and is unmaintainable.

Platform:

  • [x ] 📱 iOS
  • [x ] 🤖 Android

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions