Fixed
Status Update
Comments
mg...@google.com <mg...@google.com>
na...@google.com <na...@google.com> #3
This is due to a bug in Fragment - using 1.1.0-alpha02 of Preference uses a newer Fragment dependency, and fixes this issue.
pr...@google.com <pr...@google.com> #4
Actually, I just checked and it still crashes using 1.1.0-alpha02.
Description
Currently
lifecycle-viewmodel-compose
are depending oncompose-ui
incommonMain
. The dependency is only used inandroidMain
.This dependency brings alot of code for projects aiming to use Compose Runtime only, for example Redwood. At Voyager the Core and Navigator modules only depend on Compose Runtime, by adding the support for ViewModel to KMP projects with Voyager would bring the hole
compose-ui
.The solution here is just move the
compose-ui
dependency toandroidMain
.