moko-resources
moko-resources copied to clipboard
Resources access for mobile (android & ios) Kotlin Multiplatform development
After update `classpath("com.android.tools.build:gradle:7.3.0")` build failed: > \> Task :shared:compileDebugKotlin > e: /Users/.../MR.kt: (16, 74): Unresolved reference: app_name
When running native tests e.g. `iosX64Test` we are getting the error `Expected object 'MR' has no actual declaration in module for Native` where `core-data` is the name of the module...
For example ```xml we\'re ``` ```kotlin var stringsProvider : JsStringProvider = MR.stringsLoader.getOrLoad() val wereString = StringDesc.Resource(MR.strings.were).localized(stringsProvider) println(wereString) ``` On JS will print `we\'re` but using [resources-compose](https://github.com/icerockdev/moko-resources/tree/master/resources-compose) on android and jvm...
Hi, I have the translation system already set up with MR on my Android and iOS apps. However I am looking to see if this is feasible with remote files,...
string.xml in shared module: `\uD83D\uDE00` generate in androidMain multiplatform-strings.xml `\uD83D\uDE00` generate in Localizable.string file from iOS framework `\uD83D\uDE00` when calling the `localize()` function from iOS, the string `uD83DuDE00` is returned...
Hi, in my project, resources are not generating. Not able to use strings with MR.strings Similarily for all other resources, it show MR.directory_name, but not any resource is accesible And...
My project ([link](https://github.com/Faltenreich/Diaguard/tree/feature/multiplatform)) crashes on start with the following exception after upgrading from Android Gradle Plugin 8.2.2 to 8.3.0, using version 0.23.0 of moko-resources: ``` FATAL EXCEPTION: main Process: com.faltenreich.diaguard.beta,...
Hey, when using moko-resources in test modules, the corresponding MR classes are correctly generated, but they are not added to some SourceSets: here it is commonTest.
/shared/build/generated/moko/commonMain/src/com/linkie/tech/cody/SharedRes.kt:12:22 Expected object 'SharedRes' has no actual declaration in module for JVM
Hi Multi Lang support for En and FR is working fine in Both ANdroid and Desktop but in iOS Iam geting string key name itself Below is the error Unable...