Which database to use in desktop-compose, can we u...
# compose-desktop
a
Which database to use in desktop-compose, can we use firebase ?
m
I’d suggest SQLDelight. It is multiplatform.
g
Firebase is not just a database, it's cloud hosted no-sql database, which is quite a different beast comparing to just local SQLite Yes, you can use Firebase Database with desktop, they do support of java without Android in their SDK as I remember, another question what are your requirements I support sqldelight recommendation if you really want sql-based local database
m
Sure, I was probably biased because I am integrating SQLDelight into my current project just at this moment 😉. Would Firebase work on iOS too?
g
Yes, they do support iOS and Web too, but you need some abstraction level to use on common code (but maybe someone from the community already wrote it, would be a nice pet project)
l
I created a fork of https://github.com/GitLiveApp/firebase-kotlin-sdk a while back. My fork at https://github.com/LandryNorris/firebase-kotlin-sdk is a bit out of date, but someone could do something pretty similar pretty easily. I opened a PR, but some changes I’d made were not backwards compatible, so they didn’t accept it upstream, and I never found the time to redo it.