Closed kk-777-1127 closed 7 months ago
Save issue here, did you find how to solve it?
Looks like it is solved in 3.6.0 branch:
Thanks, I see that this issures was solved in 3.5.1. so I'll close
Fixed on 4.0.0-RC1 I tested it with
kotlin = "2.0.20-RC" compose-plugin = "1.7.0-alpha02" and more..
Describe the bug
Only iOS.
To Reproduce Steps to reproduce the behavior:
fun initKoin(appDeclaration: KoinAppDeclaration = {}) = startKoin { modules(commonModule()) appDeclaration() }
// called by iOS client fun initKoin() = initKoin() {}
fun commonModule() = module { includes(platformModule()) }
// kotlinwasm, android, ios Mains actual fun platformModule(): Module = ...
koin = "3.6.0-wasm-alpha2" koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" } koin-workmanager = { module = "io.insert-koin:koin-androidx-workmanager", version.ref = "koin" } koin-compose = { module = "io.insert-koin:koin-androidx-compose", version.ref = "koin-compose-multiplatform" } koin-compose-multiplatform = { module = "io.insert-koin:koin-compose", version.ref = "koin-compose-multiplatform" } koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" } koin-test = { module = "io.insert-koin:koin-test", version.ref = "koin" } koin-test-junit4 = { module = "io.insert-koin:koin-test-junit4", version.ref = "koin" }
--- io.insert-koin:koin-compose:3.6.0-wasm-alpha2 --- io.insert-koin:koin-compose-wasm-js:3.6.0-wasm-alpha2 +--- io.insert-koin:koin-core:3.6.0-wasm-alpha2 () +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 () --- org.jetbrains.compose.runtime:runtime:1.6.0-beta01 --- org.jetbrains.compose.runtime:runtime-wasm-js:1.6.0-beta01 +--- org.jetbrains.compose.collection-internal:collection:1.6.0-beta01 | --- org.jetbrains.compose.collection-internal:collection-wasm-js:1.6.0-beta01