max-kammerer / orion-viewer

Orion Viewer is pdf, djvu, xps, cbz and tiff file viewer for Android devices based on mupdf and DjVuLibre libraries
Other
159 stars 52 forks source link

Error on file opening from k9-mail #39

Closed spaetz closed 5 months ago

spaetz commented 3 years ago

Opening a PDF directly from k9-mail leads to this error dialog. Selecting the temporary file solution works for opening the PDF.

Android Version: 11(30)

Intent { act=android.intent.action.VIEW dat=content://com.fsck.k9.tempfileprovider/temp/04f64bdde5a5d56863d89bf073d7008647580eab?mime_type=application/pdf typ=application/pdf flg=0x10000001 cmp=universe.constellation.orion.viewer/.OrionViewerActivity }
max-kammerer commented 5 months ago

@spaetz Thank you for the report! I've added support of private file in Orion Viewer 0.90.1, now it suggests several options how to deal with them: open via temporary file, save as ad so on. New version is available on Google Play.