Is anyone here using the new v3 of coil for multip...
# compose
g
Is anyone here using the new v3 of coil for multiplatform? Its interesting to me that you have to manually link the coroutines library, isn't that already pulled in by dependency of compose multiplatform? also, not linking it will produce an error about a missing main dispatcher on every platform except iOS - is iOS just part of the coroutines core library?
c
cc: @Colin White?
c
Hmm
io.coil-kt.coil3:coil
should already import in the
MainDispatcher
for every platform except desktop. This page indicates that only desktop and Android have to be imported separately and Coil imports
kotlinx-coroutines-android
by default
The only reason Coil doesn’t also import the main dispatcher on desktop is there are two options: javafx and swing. Importing one would prevent all users from using the other