Djuro
01/30/2025, 10:06 AMcoil3 for image loading in Compose multiplatform project.
The issue is that for a brief period of time in the beginning error composable of SubcomposeAsyncImage is rendered. After a few seconds it goes to success
My imageUrl is String and cannot be null though it reports it as such.
Coil version used "3.0.4"
Project is connected to Firebase and when I use a url that doesn't originate from FirebaseStorage then this issue is not happening.
More in the 🧵Djuro
01/30/2025, 10:07 AMjava.lang.IllegalStateException: Unable to create a fetcher that supports: null
at coil3.intercept.EngineInterceptor.fetch(EngineInterceptor.kt:153)
at coil3.intercept.EngineInterceptor.execute(EngineInterceptor.kt:115)
at coil3.intercept.EngineInterceptor.access$execute(EngineInterceptor.kt:32)
at coil3.intercept.EngineInterceptor$intercept$2.invokeSuspend(EngineInterceptor.kt:66)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)