logoalt Hacker News

willsmith72today at 12:30 AM1 replyview on HN

I've been out of the app world for ages, always liked kotlin. Can you speak more about multiplatform?


Replies

doolstoday at 1:12 AM

Well the thing is that the server code is basically Java, and the only bad thing about Java is writing it but since I don’t have to write it, it’s actually a really solid option. Then you have shared UI (don’t use WASM though it’s terrible, I use React for the frontend) but you can switch to some or all native components when you need to on any platform. So like I needed native components for secure storage and passkeys and that mixes in some swift on iOS.

I created a standardised bootstrap for all our projects here starting from the KMP wizard:

https://bitbucket.org/workingsoftware/kmpbootstrap/src/main/

One thing is that adding in iOS and android and desktop after you have already created the project is a bit of a hassle compared with just always having the same structure even if you only want to use web, then you can easily add on native apps later if you like.