https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
d

dephinera

10/25/2023, 11:56 AM
hello, What would be the approach if I want to load an image (png or vector) in coil, but the image file is passed from iOS or Android. I saw that Moko Resources are if you want to provide resources from KMP to ios (no?), but how would work if I want it vice-versa? I couldn’t find such examples
d

dephinera

10/30/2023, 9:52 AM
Update: First coil doesn’t support KMP (yet). Second, we switched to Kamel. We’ll probably try implementing custom fetchers for our usecase
Update: We ended up with a solution where we show a UIKit UIImageView when we need a local asset to be shown (during loading or error)
3 Views