[Android] App crashes when pdf or any other file is opened before it is uploaded on SDK 17.3.0 | Community
Skip to main content
Fatal Exception: java.net.MalformedURLException: unknown protocol: content
at java.net.URL.<init>(URL.java:608)
at java.net.URL.<init>(URL.java:498)
at java.net.URL.<init>(URL.java:447)
at io.intercom.android.sdk.ui.preview.ui.PreviewUriKt$loadFilesAsBitmaps$1$1.invokeSuspend(PreviewUri.kt:252)
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)

After the file is uploaded the app doesn't crash.

Hey ​@User1810 ! Sean here again from Customer Support Engineering here 🔧
It sounds like the feature is not working as intended here. We may need to have our team dig into this.

I have forwarded your issue to the Customer Support team on your behalf using the forum ticket escalation feature, the team will get back to you as soon as they can. Thank you!