Woot woot. Managed to assemble sample project with...
# getting-started
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