Fixed
Status Update
Comments
mg...@google.com <mg...@google.com>
ap...@google.com <ap...@google.com> #2
Please include a sample project that reproduces your issue.
na...@google.com <na...@google.com> #3
Sample project attached. Just add to plain project this dependencies allow to reproduce.
def emoji2_version = "1.1.0-beta01"
implementation "androidx.emoji2:emoji2:$emoji2_version"
def lifecycle_version = "2.5.0-alpha01"
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
pr...@google.com <pr...@google.com> #4
The reason may be related to 2.4.0
of lifecycle-process
as workaround.
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
.