-
Notifications
You must be signed in to change notification settings - Fork 25
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
Image does not load in iOS with custom Kamel Config #118
Comments
I think you aren't using the Native Ktor client to fetch the image when the cache is invalidated, because the issue in OnFailure is
I'm using last version of Ktor in both platform, OKHTTP for Android and DARWIN for iOS, but the implementation for Kamel is internal. |
Say you have Also if you are using the disk cache:
even if you disable/wipe the memory cache, ktor will try to get it from the disk cache before attempting to make a network call. So you may need disable/ delete the disk cache. ...Off hand I'm not sure if we added a way to invalidate a specific cached entry yet 🤔 |
as for |
Hi
Thanks for your work here and given us this library. It's really useful because load images by URL should be a basic functionality of Kotlin. however, you've made a great job.
I have an issue. When I use Kamel to load a profile image all works fine, but if I need to give the user the ability of change his photo, the photo does not update, because the cache maintain the old photo. I read the documentation and see I can invalidate the cache using a
Custom Kamel Config
, but when I use it in iOS, the image does not load.This code works perfectly
But this code does not work in iOS (Android works perfectly)
I really appreciate your help because if I don't invalidate the cache, the user changes his photo, but the image does not update.
Thanks
The text was updated successfully, but these errors were encountered: