Complete noob question: Say I want a form-based ap...
# multiplatform
m
Complete noob question: Say I want a form-based app that works without mods on Desktop/Web/Mobile without any platform-specifics such as HTML for the web or iOS-specific views. As to libraries the only thing I need is a local/embedded DB and http (REST) client plus Testing. Libraries to use, avoid? Bottom line: Trying to profit from the cross-device promise and leverage my Java/Kotlin knowledge, i.e. I have no iOS experience and am weak in web development but feel solid with Android. Do not need device-specific schnick-schnack at this time.
f
Compose multiplatform for UI + sqldelight for DB + ktor for HTTP
b
Realm also now has multiplatform on-device db sdk
👍 1
j
I'm going to be releasing my Couchbase Lite KMP library soon for another embedded database option.
💚 1
c
You’ll need to some basic knowledge of of iOS and web ecosystems/dev, mostly for the initial project setup and publication. But beyond that, there’s KMM libraries available for most of what you need. Ktor is (to my knowledge) the only KMM-compatible HTTP client right now (though ktorfit is a nice wrapper around it to make it work like Retrofit). For storing simpler data, multiplatform-settings is a good option for a key-value store
l
Note on Compose multiplatform: the iOS and web targets are alpha right now. Some features are missing/incomplete currently.