Thomas Hormes
03/12/2024, 10:58 AMScreenModel
s screenModelScope
on Desktop, I get an error "Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher....".
Problem is: I have added org.jetbrains.kotlinx:kotlinx-coroutines-swing
as advised here and even aligned the coroutines version to the one used by voyager (1.7.3).
I also added org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm
but this did not help either.
Has anybody encountered the same and has an idea as to what could be causing this?
Is me building the project on an Apple M2 chip a problem?albrechtroehm
03/14/2024, 8:41 AMrememberCoroutineScope
and passing that around works for some cases but since i use the gitlive-firebase sdk it still breaks my app since the sdk somewhere uses the the dispatchers as well (at least as far as i understood it)
About M2: works fine for me as long as i don’t go for 1.6.0 🙂Thomas Hormes
03/14/2024, 8:15 PMalbrechtroehm
04/01/2024, 8:34 PMDispatchers.Main
to Dispatchers.Default
in the gitlive-java-sdk and used that version. Works fine for me so far. But to be honest i would like to understand why there is issues with Main now even the swing-coroutines packages is there. But i did not have any insights there yetPedro Romano Barbosa
04/02/2024, 12:02 AMThomas Hormes
04/02/2024, 7:57 AMalbrechtroehm
04/02/2024, 7:59 AMThomas Hormes
04/08/2024, 9:32 AMalbrechtroehm
04/08/2024, 9:49 AMThomas Hormes
04/08/2024, 9:58 AMalbrechtroehm
04/08/2024, 10:28 PMDispatchers.Default
works ... 🤷