moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

Resources access for mobile (android & ios) Kotlin Multiplatform development

Results 252 moko-resources issues
Sort by recently updated
recently updated
newest added
trafficstars

In a KMP project, moko's `ImageResource` class name collides silently with Xcode generated `ImageResource` struct (from GeneratedAssetSymbols.swift). The issue arises when trying to use an asset from the asset catalog...

I understand why StringDesc exists because you want to have localizable text and don't want to bind it to one particular source of that text. And actually the lack of...

The `GenerateMultiplatformResourcesTask` currently doesn't support its build cache entries to be re-used between builds at different filesystem locations. This effectively prevents build cache re-use for any subproject using this plugin,...

When trying to use `SharedRes` in the project, an "Unresolved reference 'SharedRes'" error occurs. This issue seems to be related to the configuration of `moko-resources` in the project. ## Environment...

Hello! Currently using 0.24.5 I have a strange issue: I am using a moko-resources directory with a directory for my English strings and a directory for the German ones. This...

How do I properly scale SVG images in SwiftUI? I'm running [kotlin-2-sample](https://github.com/icerockdev/moko-resources/tree/master/samples/kotlin-2-sample) in the [latest commit](https://github.com/icerockdev/moko-resources/commit/29b4834ebc652a45b0de31a7cd16da76cfb1774a) with the following ContentView.swift: ```swift import SwiftUI import shared extension Image { init(resource: KeyPath)...

**Strings.kt:** package com.qvc.kmp.poc.shared import dev.icerock.moko.resources.StringResource import dev.icerock.moko.resources.desc.Resource import dev.icerock.moko.resources.desc.StringDesc import dev.icerock.moko.resources.format actual class Strings { actual fun get(id: StringResource, args: List): String { return if(args.isEmpty()) { StringDesc.Resource(id).localized() } else {...

need-info

Hello, guys. I ve tried to use moko resources but ve got the following error. Is there any workaround for it? Thanks moko version 0.24.3 multi module project ``` 2024-11-13T01:25:52.015+0300...

need-info

We are encountering an issue when building iOS project on arm64 simulator: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_ResourcesModuleMRPlurals", referenced from: in DesignSystem.o "_OBJC_CLASS_$_ResourcesModuleMRStrings", referenced from: in DesignSystem.o "_OBJC_CLASS_$_ResourcesModuleResources", referenced from:...

is there a way I could change the folder name MR to like common or something else in gradle kts

enhancement