Hey, I wanted to migrate to nav3 on my CMP project...
# multiplatform
k
Hey, I wanted to migrate to nav3 on my CMP project, but seems like
org.jetbrains.androidx.navigation3:navigation3-runtime
is not out? Or does
org.jetbrains.androidx.navigation3:navigation3-ui
has
api
dependency on it? From examples, I can see only`ui` being added and
NavKey
being there just fine, so wanted to confirm what’s up
r
You need only ui from jetbrains, runtime is already KMP ready.
k
ah, so I need to add runtime from androidx then?
r
Yes exactly
k
Thanks. What about nav3-recipies repo? it does not have runtime as dep, yet it does use it in the code? https://github.com/terrakok/nav3-recipes/blob/master/gradle/libs.versions.toml
r
Because UI use runtime, so you can add only ui. But if you have a module without compose, you can add runtime
k
alright, so that means it has
api
dep on it, great, thanks!
👌 1