Woot woot. Managed to assemble sample project with ios/android/desktop/web(wasm) targets. sharing si...
m
Woot woot. Managed to assemble sample project with ios/android/desktop/web(wasm) targets. sharing single composable as entry point. on web additionally famous BrowserViewportWindow is used maybe this will make life easier for someone 😅 https://github.com/mihailt/compose-kmm-sample-app
👏 4
👍🏻 1
👍 3
o
👍 Just remember to update BrowserViewportWindow once you switch to Kotlin 1.9+: https://kotlinlang.slack.com/archives/C01F2HV7868/p1689166991135589?thread_ts=1689104013.866869&cid=C01F2HV7868
👍 1
j
@Oliver.O what's the advantage of using your
BrowserViewportWindow
over the built-in
CanvasBasedWindow
? It also fills the full browser window and resizes, or am I missing some details here?
o
The first one is for the K/Js target while the second one is for K/wasm. Both use canvas, K/wasm will be the future but does have limited library support for now.
thank you color 1
🔥 1