Baseflow / Baseflow/flutter_cache_manager
Downloaded files are always stored as .bin instead of preserving the original extension
- Vorherrschende Sprache
- Dart
- Sterne
- 809
- Forks
- 510
- Ø Merge
- 6 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Plugin: flutter_cache_manager
Version: ^3.4.1
When downloading media files (e.g., .mp4, .jpg, etc.) using CacheManager.downloadFile(), the cached file is always stored with a .bin extension, regardless of the original URL's file extension.
This creates confusion when trying to:
Use file types based on extension (e.g., previewing .mp4 in a video player)
Debug or manage cache files
Persist/restore with accurate file type outside the cache manager
Beitragsleitfaden
Rechercherichtung
Start at the CacheManager.downloadFile() entry point and trace how downloaded cache filenames are generated. Verify the behavior with media URLs such as .mp4 and .jpg, then confirm that cached files preserve the original extension instead of always using .bin.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart, flutter
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100