JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.33k stars 1.18k forks source link

Shared resources not working in compose multiplatform library #4313

Closed philipkraeutl closed 9 months ago

philipkraeutl commented 9 months ago

Describe the bug When creating a compose-multiplatform library and using the library in a compose app, the resouces are not working for iOS and Web (K/wasm). More details on this are in the stackoverflow post here: https://stackoverflow.com/questions/78005978/shared-resources-not-working-in-compose-multiplatform-library Affected platforms

Versions Kotlin version: 1.9.22 Compose Multiplatform version: 1.6.0-beta02 (1.6.0-rc01 also not working) OS version(s)* (required for Desktop and iOS issues): Any iOS version OS architecture (x86 or arm64): both

To Reproduce

  1. See https://stackoverflow.com/questions/78005978/shared-resources-not-working-in-compose-multiplatform-library
terrakok commented 9 months ago

https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html

image
okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.