Baseflow / Baseflow/flutter_cache_manager

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

Ouverte
#489 1 commentaire 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
809
Forks
510
Merge moyen
6 min
PR mergées (30 j)
1

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter
Domaine
mobile-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.