Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading over the network #4

Open
ghost opened this issue Aug 2, 2018 · 2 comments
Open

Loading over the network #4

ghost opened this issue Aug 2, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2018

Is it possible to load the .object over the network instead of from an embedded asset ?

@hemanthrajv
Copy link
Owner

hemanthrajv commented Aug 3, 2018 via email

@ghost
Copy link
Author

ghost commented Aug 3, 2018

hey @hemanthrajv
I think the flutter cache plugin should then be used with it. That downloads the file from the server and puts it in temp dir for the app and will remove it automatically based on the headers from the server.

example usage of the cache:
https://github.com/renefloor/flutter_cached_network_image

The actual cache:
https://github.com/renefloor/flutter_cache_manager

Hoping you think this is a good idea... ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant