MatkovIvan / nav_cupcake

Multiplatform adaptation of Google's `basic-android-kotlin-compose-training-cupcake`
94 stars 6 forks source link

Support Navigate with arguments in none Android target #4

Closed Darkrai9x closed 4 months ago

Darkrai9x commented 4 months ago

I have tried navigation on Android, it works well, but on desktop and iOS, navigation with parameters doesn't seem to work.

composable(route = "flavor/{id}") { }

navController.navigate("flavor/test")

It seems this issue is related to deep links not fully supported by NavController.jb yet. Could you please provide information about when this feature will be supported?

MatkovIvan commented 4 months ago

Thanks for the report. Yes, it's because deep-link matching is not ported to multiplatform yet. There is no particular ETA, but it's in my TODO list.