★ wanayoo — archive 1999 https://github.com/Baseflow/flutter_cache_manager/issues/15Nouvelle recherche | Portail wanayoo
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

Is cache path ".../cachecache/..." a bug? #15

Closed
coolzilj opened this issue May 24, 2018 · 5 comments
Closed

Is cache path ".../cachecache/..." a bug? #15

coolzilj opened this issue May 24, 2018 · 5 comments

Comments

@coolzilj
Copy link

@coolzilj coolzilj commented May 24, 2018 •

I'm playing with the flutter_cached_network_image , trying to figure out how and where images are cached.

With the help of CacheManager.getFile, I noticed that the path of cache images
/data/user/0/com.example.helloworld/cachecache/4fd9d460-4800-11e8-e6b9-3f018955612d.jpeg
is different with the getTemporaryDirectory by path_provider which is something like this
/data/user/0/com.example.helloworld/cache/hello_worldLNOPCM/hello_world/build/flutter_assets/AssetManifest.json

So, is this a bug?

@renefloor
Copy link
Collaborator

@renefloor renefloor commented May 24, 2018

I'll have to look into this for Android and iOS, but it looks like it indeed it looks like this is indeed a real problem. I don't know why I didn't see this before. Maybe getTemporaryDirectory changed or something like that.

@coolzilj
Copy link
Author

@coolzilj coolzilj commented May 24, 2018

some unit tests would be fine

@coolzilj coolzilj closed this Aug 11, 2018
@sgon00
Copy link

@sgon00 sgon00 commented Sep 7, 2018

@coolzilj I am wondering why you close this bug, since the cache directory is still cachecache/ now. If it shouldn't be this directory, this bug should still remain open.

@renefloor
Copy link
Collaborator

@renefloor renefloor commented Sep 9, 2018

@sgon00 I agree

@renefloor renefloor reopened this Sep 9, 2018
@renefloor
Copy link
Collaborator

@renefloor renefloor commented Nov 24, 2018

Fixed in 0.3.0-alpha.2

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.