https://kotlinlang.org logo
#compose-web
Title
# compose-web
j

Joel Denke

12/08/2023, 7:57 AM
Now that web and kotlin wasm is in alpha kind a, wonder anyone tried this? Like it wasnt complex enough with firebase in iOS and Android, as well as cross platform navigation with Circuit. Anyone tried sharing with web as well with compose multiplatform? Does it have interop with js and possible to load google play services with wasmMain or such?
j

Justin Salér

12/08/2023, 9:13 AM
Tried Compose Web WASM? Or what do you mean in particular? I created a simple personal webpage, but a bit hesitant to release it, before this issue is fixed https://github.com/JetBrains/compose-multiplatform/issues/3754. Compose WASM works really well in PC browser, but not on mobile web yet.
j

Joel Denke

12/08/2023, 9:15 AM
Yeah I want to test if can use same code I have in my CMP project for iOS and Android also web without any changes. But require some interop how adding some js library deps from Google 😁
Mobile web always work bad 😁
😂 2
j

Justin Salér

12/18/2023, 11:35 AM
Just letting you know that I was able to solve the aspect ratio issue by adding
Copy code
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;"/>
to the header! 🙂
🎉 1
2 Views