edgarsMalahovskis
edgarsMalahovskis
Same issue here, here is the stacktrace Showing All Messages java.lang.AssertionError: Error occurred while optimizing an expression: CALL 'public abstract fun (: T of kotlinx.coroutines.flow.MutableStateFlow): kotlin.Unit declared in kotlinx.coroutines.flow.MutableStateFlow' type=kotlin.Unit...
@esdras-ajulabs there is a workaround in https://github.com/adrielcafe/voyager/issues/515#issuecomment-2532136784 You need to remove voyager koin dependency and if you are using screenModel, create your own class as in example.
@hafiz013 I agree with you, but people need to work while this library is updated, so there is a workaround. Not saying that this should not be fixed.