moko-resources
moko-resources copied to clipboard
Resources access for mobile (android & ios) Kotlin Multiplatform development
It would be great to have image resources localisation like android resources has
If I build an app with Moko Resources, then change to target "Any iOS device (arm64)" instead of a simulator build in XCode, then XCode complains that the linked framework...
now ColorResource is just sealed class with color constants. but we should use on each platform resources of platform. so we generate colors.xml on android, and should have some `actual...
https://github.com/JetBrains/kotlin-native/issues/1834#issuecomment-484854268 maybe it now works
if we will measure time of resources compilation on iOS: ``` @OptIn(ExperimentalTime::class) private fun setupKLibResources(generationTask: Task) { val compileTask: KotlinNativeCompile = compilation.compileKotlinTask compileTask.dependsOn(generationTask) compileTask.doLast { task -> task as KotlinNativeCompile...
Need to refactor passing of assets file directory from `IosMRGenerator` into resources generators (colors and images). Because now generators gets `File` by the file name constant `ASSETS_DIR_NAME`.
Wondering if you support the use of [xliff:g tags in strings](https://developer.android.com/guide/topics/resources/localization#mark-message-parts). I am going to test if you do, but even if you do your documentation should mention it to...
I set up the moko-resources as it is in the documentation. I have 2 targets: Android and iOS. Android works well with 2 supported languages("en", "pl"), but iOS shows only...
Hello, I am developing the NASA WorldWindKotlin 3D GIS library based on the Kotlin Multi-platform stack and we are using MOKO resources to access common images from JS, JVM and...