Baseflow / Baseflow/flutter_cache_manager

How to customize the file name

Open
#440 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 💬 Questions and Help

I tried using
`
var file = await DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf')
`
but I got a file with a path
`
'/cache/libCachedImageData/1f91faa0-a9dd-1df7-98e4-0df546dcdedb.pdf"
`

Contributor guide

Open the contributing guide

Research direction

Start with the DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf') usage shown in the issue and inspect the cache manager API documentation and entry point for file naming. Done means documenting whether callers can customize the cached file name and, if supported, explaining the relevant option.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.