Rohen Giralt

    Rohen Giralt

    2 years ago
    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!
    Kris Wong

    Kris Wong

    2 years ago
    KMP doesn't have support for this
    m

    Mgj

    2 years ago
    Good question though
    Rohen Giralt

    Rohen Giralt

    2 years ago
    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?
    Kris Wong

    Kris Wong

    2 years ago
    check you track
    saket

    saket

    2 years ago
    There's moko resources for Android and iOS: https://github.com/icerockdev/moko-resources