Baseflow / Baseflow/flutter_cache_manager

Downloaded files are always stored as .bin instead of preserving the original extension

Aperta
#489 1 commento 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile-dev
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.