Hi everyone, I'm currently building a desktop appl...
# multiplatform
b
Hi everyone, I'm currently building a desktop application using Kotlin Multiplatform (KMP), and I'm trying to implement navigation using
NavHost
. However, the dependencies I tried didn't work as expected. If anyone has any references or examples on how to properly use
NavHost
in a desktop KMP project, I’d really appreciate your help.
c
you need the jetbrains multiplatfrom version of the navigation dependency. https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-navigation.html#basic-navigation-example
👍 1
b
Also, I’m using Firebase in this desktop KMP project. Do I need to change or adjust the Firebase dependencies specifically for desktop, or are the standard ones good to go?
c
As far as I know fireball is mobile and web only and it’s not multiplatform. There are some wrapper libraries out there.
b
Thanks a lot for your response! Yes, I figured Firebase is mainly for mobile and web. I’ll definitely look into those wrapper libraries for KMP.
f
there is a java desktop port of Firebase
b
Oh, that’s interesting—thanks for sharing! Are there any Kotlin-specific ports or libraries available for Firebase on desktop, especially for use with KMP?
f
That’s the one.
âś… 1
the maintainers are not very active.