Raival-e / File-Explorer-Compose

An Android file explorer written in Kotlin and Jetpack Compose
GNU General Public License v3.0
334 stars 14 forks source link

App crashing when opening PDF. #4

Closed egoravsharma closed 2 weeks ago

egoravsharma commented 3 weeks ago

First of all lot of thanks for making the best File Explorer on Android. Built in PDF viewer having an issue while opening PDF. But when we open PDF from 3rd party apps using File Explorer PDF, it works fine.

Raival-e commented 3 weeks ago

You're welcome.

Can you provide more information about the issue you're facing? Does the app crash?

PDF viewer works just fine on my device and the emulator.

egoravsharma commented 3 weeks ago

For more clarity, I saved the same PDF in Internal Storage, External Storage, and WhatsApp. While the PDF in Internal Storage and WhatsApp opened smoothly using File Explorer, the app crashed every time I tried opening the PDF from External Storage.

egoravsharma commented 3 weeks ago

Wait...! It’s not just PDFs—no file is opening from External Storage. Could you try it on your device, in case there's an issue with my SD card?

Raival-e commented 3 weeks ago

There is an issue with opening files from external storage. I'll be looking into it.

Thanks for the details.

Raival-e commented 2 weeks ago

You may now try the action build and see if the problem still occur.