Comments (9)
As a temporary solution you can use getDownloadURL()
to get an url, but that's not acceptable from a security standpoint since provided URLs are public.
from flutter_cache_manager.
The current alpha version already supports the use of custom HttpGetter which can modify the url. The api could still change a bit. See also this pull request https://github.com/renefloor/flutter_cache_manager/pull/53
from flutter_cache_manager.
Great! Thanks.
And will this functionality be available from flutter_cached_network_image
as well (for displaying images from Firebase storage) ?
from flutter_cache_manager.
@aloisdeniel yes, if you use https://pub.dartlang.org/packages/cached_network_image/versions/0.6.0-alpha.2 you can already extend the cache manager that is used.
from flutter_cache_manager.
@renefloor when do you plan to push the alpha to stable ? I really need the new version, but cannot use the alpha because of version conflicts.
from flutter_cache_manager.
@The-Redhat which version conflicts do you have?
from flutter_cache_manager.
With flutter_html_view. The library depends on cached_network_image.
from flutter_cache_manager.
@renefloor I will try that very soon and keep you informed! Thanks
from flutter_cache_manager.
Just moved this to beta. Will nog focus on updating and improving the cached_network_image. I just made the httpGetter more flexible so it also accepts other forms of file fetching
from flutter_cache_manager.
Related Issues (20)
- Get & list cached files
- CacheManager attempts to create file named guid.* on Windows (full example included and clear description)
- Cached file should be removed on 404, and error should be added to Stream even if a cached file exists
- If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes
- How to customize the file name
- How can I get the total size of the cache or get the cache path? HOT 9
- Windows fail
- Auto Extend the cached file's longevity if the user views it before it expired.
- The cached files aren't being removed after the stale duration is over! HOT 1
- ClientException: Redirect limit exceeded
- JsonCacheInfoRepository: FormatException: Unexpected end of input (at character 1) ^
- Privacy manifest file for iOS is missing HOT 2
- Stale period not working properly
- Add option to not use SQLite and default to that HOT 3
- v3.3.1 DefaultCacheManager().getSingleFile(url) throws and pauses the app in debug mode, rather than let the error be caught
- Cannot upgrade rxdart to latest HOT 1
- Invalid argument(s): No host specified in URI. Error thrown . HOT 1
- FormatException was thrown
- Proposal to support all platforms (including web) while emulating browser caching behavior HOT 3
- Provide response body for status code 400
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_cache_manager.