raamcosta / compose-destinations

Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate.
https://composedestinations.rafaelcosta.xyz
Apache License 2.0
3.23k stars 134 forks source link

Does compose-destinations support KMM (Kotlin Multiplatform)? #301

Closed DAT4 closed 2 years ago

DAT4 commented 2 years ago

I am wondering if compose-destinations support KMM or if it is gonna support it in the future :)

raamcosta commented 2 years ago

This will only happen if official compose navigation supports this in the future. If not, no way to make this happen, at least not without re-implementing the whole navigation logic :)

Douvi commented 1 year ago

Hey @raamcosta, JetBrains announced this a couple of months ago -> site. Does it mean your lib will still work without any change?

raamcosta commented 1 year ago

This library uses the official android jetpack compose navigation library. So as long as that only supports android, so does this library.

In short, it will not work with other platforms until android team changes navigation to also support other platforms.