PassAndroid icon indicating copy to clipboard operation
PassAndroid copied to clipboard

PDF opening in this app from browser on S7

Open jamesb6626 opened this issue 9 years ago • 8 comments

Since the latest update, attempting to open a pdf file directly from chrome or the default "internet" browser presents only two options, to open it with this app or with chrome. Both of these result in the file opening in this app, which complains it is an "Invalid Passbook", which is understandable because it is meant to be a normal pdf document. It is not possible to clear any defaults for this app in the settings. When a pdf is instead opened from the file browser other pdf viewers are correctly shown as apps to open the file with.

jamesb6626 avatar Dec 01 '16 10:12 jamesb6626

Thanks - this is really strange. Are you able to install intent-intercept and give me details for both intents?

ligi avatar Dec 01 '16 10:12 ligi

@jamesb6626 a temporary workaround is to install any other PDF viewer

ligi avatar Dec 01 '16 11:12 ligi

Same problem on Sony Xperia Z1 compact. Even a fresh installation of a different pdf-viewer didn't resolve the problem (as suggested). (To be sure, I also uninstalled adobe...)

maguggi avatar Jan 10 '17 13:01 maguggi

Also having this issue. I went into the Application Settings and cleared out all Defaults for PassAndroid, and made sure Acrobat was updated. Still opened PDF in PassAndroid.

weberjm avatar Jan 11 '17 22:01 weberjm

Bumping this issue. Seeing the same in LineageOS on a MotoG5+. MuPDF will correctly be used when opening from a file browser, but PassAndroid takes over if opening directly from K9 mail or Firefox.

tdido avatar Sep 06 '17 12:09 tdido

Is this solved? I'm about to send passandroid to hell. Installed several PDF viewers and still taking over.

darthchile avatar Jun 11 '18 06:06 darthchile

I have the same problem with Pixel 3, default Android installation. Google Drive is installed, which brings a PDF viewer, but it still brings up PassDroid when I open a PDF.

guerda avatar Dec 13 '18 12:12 guerda

This is what intent-intercept gives me as information about the intent:

intent://com.fsck.k9.tempfileprovider/temp/f59e980f347cf805fefc71ca4f8afc777e685d5c?mime_type=pdf%2Funknown#Intent;scheme=content;type=pdf/unknown;launchFlags=0x10080000;end

ACTION: android.intent.action.VIEW DATA: content://com.fsck.k9.tempfileprovider/temp/f59e980f347cf805fefc71ca4f8afc777e685d5c?mime_type=pdf%2Funknown MIME: pdf/unknown URI: intent://com.fsck.k9.tempfileprovider/temp/f59e980f347cf805fefc71ca4f8afc777e685d5c?mime_type=pdf%2Funknown#Intent;scheme=content;type=pdf/unknown;launchFlags=0x10080000;end FLAGS: FLAG_RECEIVER_FOREGROUND FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET

AUFRUFBARE ACTIVITIES keine

Before I installed PassDroid, the Google PDF viewer app opened. Now the intent shows that no app exists.

It seems to be a problem in K9 in my case. It sends the MIME type "pdf/unknown". If I change it to "application/pdf", then intent-intercept offers me to send it to Google PDF Viewer and muPDF and others.

guerda avatar Dec 13 '18 12:12 guerda