Baseflow / Baseflow/flutter_cache_manager

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

未关闭
#489 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。