Hello I’m not able to use argument with compose na...
# multiplatform
d
Hello I’m not able to use argument with compose navigation on iOS while same is working on android. I’m getting following crash.
Copy code
kotlin.IllegalArgumentException: Navigation destination that matches route post-list/Answer Key cannot be found in the navigation graph ComposeNavGraph startDestination={Destination route=home}
image.png
p
Are you using the latest and greatest version for each library?
d
yes
Copy code
compose-plugin = "1.6.10-beta02"
Copy code
navigationCompose = "2.8.0-alpha01"
Copy code
lifecycleViewmodelCompose = "2.8.0-beta01"
p
You seem on the edge 👍 maybe is a bug
s
i think you should pass answer with curly braces {Answer} for compose
u
the path is doesn't exist maybe the navigation path, your route doesn't change or navigate it to not exist path
d
This started working after I updated
Copy code
navigationCompose = 2.8.0-alpha02
👍 1