Open Zolnier opened 4 years ago
Hello. I'm happy to hear that you are using Davinci.
First, you can simply control caching with setCached
function. (Default is True)
Davinci.get().load(imageUrl).setCached(true).into(image).start();
Also, thanks for mentioning "save the downloaded image to a file", it's a good feature. Currently, we save cached images as a file in Application.persistentDataPath + "/" + "davinci" + "/"
but not returning the full path of file.
I'll be happy if anyone can send a PR for add this feature, otherwise I'll work on this soon.
Thanks Zolnier 😉
I'll be happy if anyone can send a PR for add this feature, otherwise I'll work on this soon.
I'm actually working on it too 😉 I can't use Unity in some days, but anyway I'm trying to add the feature (when I test it, I'll make the PR)
I'll be happy if anyone can send a PR for add this feature, otherwise I'll work on this soon.
I'm actually working on it too 😉 I can't use Unity in some days, but anyway I'm trying to add the feature (when I test it, I'll make the PR)
Sounds great! Thank you
will this plugin works for unity webgl. and the cache part also?
Love this resource! Very elegant! Is there a way to save the downloaded image to a file during runtime? Also, what is the function of the .Caching(true) element as I cannot find any documentation on that? Great work on this!!