moko-resources
moko-resources copied to clipboard
Resources access for mobile (android & ios) Kotlin Multiplatform development
Hi, we are using moko-resources in our KMP mobile app (iOS & Android) mostly for strings localization and is working great! Recently, we were asked to try to extend part...
I am using the version: `0.23.0` I have the following structure for my images: `shared/commonMain/resources/MR/images/ic_partnership.svg` I have a suggested helper method ``` fun getImageByFileName(name: String): ImageResource { val fallbackImage =...
Include changes from: - #565 - #561 - #547 - #541 plugin reworked to `Provider` gradle's api to support dynamic changes of projects configuration. ---- If you have some not...
I was running into a SwiftUI issue where the `.fontWeight` modifier stopped working when I moved fonts out of my iOS project into and into my shared library via moko-resources....
Similar to https://github.com/icerockdev/moko-resources/issues/218, I feel it would be good to have a way to dynamically access strings by string key. I need this for my application due to some dynamically...
The MOKO resources version of `painterResource` is much slower than its JetBrains counterpart. For example, ```kotlin LazyVerticalGrid { repeat(100) { item { // Too slow, the app freezes as the...
I cannot figure out how to get strings with placeholders in the iOS app. I believe the issue I'm having is due to the strings using placeholders in the format...
How do I create strings for the Chinese language that differ in script? Specifically, I was using `b+zh+Hans` and `b+zh+Hant` for simplified respectively traditional script of Chinese. But it does...
Hello, I have implemented Moko Resources in my Jetpack Compose Multiplatform module, following the guide in the readme. Everything is working smoothly on Android, but somehow I get an error...
Under certain circumstances, I can run into a `FileAlreadyExistsException` when building for iOS from Android Studio Example message: ``` Execution failed for task ':composeApp:copyResourcesDebugFrameworkIosSimulatorArm64'. > kotlin.io.FileAlreadyExistsException: /Users/stevenkideckel/Documents/Multiplatform/PathWidgetXplat/composeApp/build/bin/iosSimulatorArm64/debugFramework/ComposeApp.framework/PathWidgetXplat:composeApp.bundle/Contents/Resources/en.lproj/Localizable.strings -> /Users/stevenkideckel/Documents/Multiplatform/PathWidgetXplat/build/ios/Debug-iphonesimulator/widgetExtension.appex/PathWidgetXplat:composeApp.bundle/Contents/Resources/en.lproj/Localizable.strings: The...