Closed
Description
After upgrading to compose-kmp 1.6.0 i'm seeing following issues even when the mentioned packages are present.
Exception in thread "OkHttp Dispatcher" java.lang.IllegalStateException: Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'
at kotlinx.coroutines.internal.MainDispatchersKt.throwMissingMainDispatcherException(MainDispatchers.kt:77)
at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.missing(MainDispatchers.kt:108)
I hoped that #5 fixed this issues but its still there. Replacing Dispatchers.Main
with Dispatchers.Default
in FirebaseAuth.kt, AsyncTask.kt
and Handler.kt
seems to fix the issue for me. I'm not super deep into coroutines and dispatcher, please ignore if this does not make sense to you.
Metadata
Metadata
Assignees
Labels
No labels