Hey, I would like to add a .txt file to my multipl...
# multiplatform
j
Hey, I would like to add a .txt file to my multiplatform (android & ios) library/framework to read some data from. Is there a way to add this file as an ios resource? I know that for android I can just add it to res/raw and it will work, but I'm kinda lost at ios side.
👍 3
m
you can use existing library moko-resources https://github.com/icerockdev/moko-resources or implement it by yourself with lambdas like here https://github.com/touchlab/DroidconKotlin/blob/master/iosApp/iosApp/app/AppDelegate.swift#L33
👍 2