I've been trying Nav3 with my CMP library (just us...
# compose-android
e
I've been trying Nav3 with my CMP library (just using an Android target because there is no CMP support for Nav3 yet), but I am experiencing this crash on the most basic usage of Nav3 - https://issuetracker.google.com/issues/419049149 Has anyone successfully ran
1.0.0-alpha01
without crashing? Maybe it's just the CMP setup that is causing this?
m
Why CMP? Tryp building an android app first to know more of the nav3 ..
e
I'm integrating it with one of my current libraries that is CMP
i
Navigation3 depends on the latest Compose 1.9 alpha, which don't have an equivalent Jetbrains Compose version
e
For that module I'm just using the Android target, so it should pull the latest alpha transitively.
I have a WIP branch with it here (most of the changes are refactoring the sample so "business logic" can be shared between nav2 and nav3) https://github.com/eygraber/vice/tree/nav3
i
Yeah, I suspect there's something broken for that 'latest alpha transitively' part on our end - does it work if you switch to the alpha BOM? https://developer.android.com/develop/ui/compose/bom#what_if_i_want_to_try_out_alpha_or_beta_releases_of_compose_libraries
e
I tried that, and it wasn't working, but there were other issues I've since resolved so I'll give it another shot
i
Navigation3 depends on the latest Compose 1.9 alpha, which don't have an equivalent Jetbrains Compose version
jfyi not in maven central yet, but we already have dev builds based on 1.9.0-alpha02 (the latest is 1.9.0+dev2496)
👍 1
👀 1