moko-resources
moko-resources copied to clipboard
Resources access for mobile (android & ios) Kotlin Multiplatform development
Hello! I'm trying to setup shared string resources, but am running into some issues. I have checked with the sample projects and I can't spot any differences to how I...
I have a JS example that is giving me some issues: ``` Suspend function 'getOrLoad' should be called only from a coroutine or another suspend function ``` from the code:...
Having and ampersand character (even the escaped \& sequence contains an ampersand) in plural strings causes the plural on iOS to resolve to its ID.
If no translation is found, we should fallback to the base translation in the default locale for iOS and MacOS.
SVGs are being properly generated, and can be used on the iOS side. However, building for Android fails as the SVG resources are unresolved: `e: file:///Users/maxvogel/Dropbox/Mac/Desktop/Mtec%20Results/Repos/Results_App_Kotlin/shared/build/generated/moko/androidMain/src/com/mtecresults/resultsapp/SharedResources.kt:246:34 Unresolved reference: icon_transportation_button` Weirdly,...
``` Module not found: Error: Can't resolve 'localization/comyourflixercommon_stringsJson.json' in '/Users/sunil/AndroidStudioProjects/YourFlixer-KMP/build/js/packages/yourflixer/kotlin' ``` Getting following error in web app. Working fine now for all android, iOS, desktop but not on web.
Adding image `[email protected]` results in `ImageResource`s with different `filename`s in different platforms. This leads to different result of the following code: Android: ```kotlin MR.images.getImageByFileName("image") // ImageResource MR.images.getImageByFileName("image.png") // null ```...
While evaluating compose performance i found that `StringResource` is not considered stable in compose `unstable text: StringResource`. This should be fixed to improve compose performance. More information can be found...
Hello, Is it planned to add support to `webp` images? It is supported on Android and it allows to have the same image quality than `png` but with a very...
Hi there, Its very easy to start using libres. It has minimal setup procedure. Thanx for that. But in web, i tried to change the language using StringDesc.localeType = StringDesc.LocaleType.Custom("hi")...