Baseflow / Baseflow/flutter_cache_manager
Downloaded files are always stored as .bin instead of preserving the original extension
- Ngôn ngữ chính
- Dart
- Star
- 809
- Fork
- 510
- Merge trung bình
- 6 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- dart, flutter
- Lĩnh vực
- mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100