Hey, does anyone have any idea how to use resource...
# multiplatform
r
Hey, does anyone have any idea how to use resources (JSON files, images) in common code and have them exported to iOS and Android (or other platforms, too)? It’s possible for me to just store data in custom classes instead of JSON and copy new image assets to each application individually, but I’d rather not do that. If I’m not mistaken, it’s possible to create a dynamic framework on iOS for this, as well as an Android library on Android, so I’d imagine it’d be possible with some custom build.gradle. Do any of you have any experience with this? Thanks!
k
KMP doesn't have support for this
m
Good question though
r
Aw, that’s too bad. Is this planned or proposed in any way, or is there some technical reason it can’t easily be done?
k
check you track
s
There's moko resources for Android and iOS: https://github.com/icerockdev/moko-resources
👍 2