is there KMM ready solution for loading and caching images?
I need to load and cache images inside shared KMM module but those images would be consumed from native UIs, Compose and SwiftUI.
if I was building it by hand I’d use Okio to save images to disk and have a bridge from Android and iOS to send byte array that I’ll save.
but I’d prefer to use lib like (maybe) Coil but idk. if it supports my use case
a
Ana Sekuloski
04/01/2024, 12:20 PM
Maybe you can use
expect
mechanism and in
actual
implementations you can use Coil/WhateverIosLib?
m
Marko Novaković
04/01/2024, 3:28 PM
it’s possible but I went fully manual route.
coil is not multiplatform yet and my usecase is simpler than code I’ll need to wire things.