kpgalligan
12/16/2024, 5:18 PMScreenRoute
, then the code generated for CSB needs it. It would make sense that CSB has some way of adding Kotlin code structures (classes, interfaces, etc) to the API that the Kotlin compiler generates, but CSB itself is fairly new, so I wouldn't be surprised that it doesn't do that (or can't).
To test this, you could export Voyager to the KMP framework build, which should then include ScreenRoute
. If that works, depending on how big Voyager is and how much additional code is exported as a result, I'd probably try to figure out a way to limit the export to only the parts of Voyager that you need. A simple way to do that is to just add a dummy function that returns ScreenRoute
. It doesn't actually need to do anything, but the Kotlin compiler will see it and export ScreenRoute
.Mirzamehdi
12/16/2024, 10:49 PM