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

No support for wasm on multiplatform

Open pnametala opened this issue 1 year ago • 12 comments

I'm trying to add a WASM project to my Kotlin Multiplatform project but when trying to run gradle, it gives an error

Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of dev.icerock.moko:resources:0.23.0 was found. The consumer was configured to find a library for use during 'kotlin-api', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' but:

I would like to know if there's any plans for this support in the near future.

pnametala avatar Sep 23 '23 12:09 pnametala

+1

nowiwr01w avatar Dec 10 '23 15:12 nowiwr01w

+1

wagnod avatar Dec 10 '23 16:12 wagnod

@Alex009 Just curious to know that are we planning now to add support for wasm as Kotlin/Wasm is now in alpha.

sunildhiman90 avatar Dec 12 '23 17:12 sunildhiman90

any updates for wasm?

ismai117 avatar Dec 24 '23 23:12 ismai117

+1 on this, any ETA or updates??

ArnyminerZ avatar Jan 12 '24 19:01 ArnyminerZ

+1

On current time we doesn't have plan for support WASM, only if somebody from community do pull-request with supports this target

ExNDY avatar Apr 12 '24 23:04 ExNDY

I started adding support for wasmJS if anyone wants to help finish the pr #724

luca992 avatar May 27 '24 02:05 luca992

@ExNDY Any change regarding this decision? I think it would be very useful to have support for WASM. It would be possible to build many applications for the web without much difficulty.

petrstetka avatar Jul 30 '24 08:07 petrstetka

Hi, as I'm know, no changes, we don't have plans of support wasm target based on us time resource. That need knowledge and experience of usage platform. We don't have expertise for this.

ExNDY avatar Jul 31 '24 05:07 ExNDY

wasmJs is almost exactly the same as js. Can you guys at least release the moko-graphics pr for wasmJs so my pr isn't bottlenecked by that and I can continue working on it when I have time?

luca992 avatar Jul 31 '24 17:07 luca992