feat(01-04): wire JVM + Wasm main + Swift iOSApp to bootstrap Koin + Kermit

- JVM main: configureLogging() + initKoin() before application { Window }
- Wasm main: configureLogging() + initKoin() before ComposeViewport (PITFALL #8)
- iOSApp.swift: import ComposeApp + init { KoinIosKt.doInitKoin() } (PITFALL #4)
This commit is contained in:
2026-04-24 19:41:51 +02:00
parent 8cd608a981
commit fd3e7e1584
3 changed files with 23 additions and 8 deletions

View File

@@ -1,7 +1,12 @@
import SwiftUI
import ComposeApp
@main
struct iOSApp: App {
init() {
KoinIosKt.doInitKoin()
}
var body: some Scene {
WindowGroup {
ContentView()