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
Kris Wong
06/26/2020, 12:49 PM
KMP doesn't have support for this
m
Mgj
06/26/2020, 12:57 PM
Good question though
r
Rohen Giralt
06/26/2020, 12:59 PM
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?