PassAndroid icon indicating copy to clipboard operation
PassAndroid copied to clipboard

PassAndroid is not offered as option after pkpass download

Open wrosenauer opened this issue 6 years ago • 8 comments

Using Android 7 and PassAndroid. One of the things I always wonder is why PassAndroid is not recognized as handler application for pkpass files. Everytime I download one via browser (e.g. Firefox) or from within a mail I never get PassAndroid offered as handler application. I can just download and let PassAndroid search for new passes which is quite some extra step.

wrosenauer avatar Oct 27 '17 20:10 wrosenauer

Great that you are using Firefox :-) Probably, the web site where you donwloaded the pkpass file from did not provide the correct mime type.

Do you have the same issue with this sample pass? https://www.passsource.com/pass/create.php?hashedSerialNumber=eNortjIysVJyS_epdPVNM_YtKa8MNPJwLcoJyEsqt7VVsgZcMKPdCho,&download=true

friedger avatar Oct 28 '17 07:10 friedger

Yes, I have the same behaviour with that sample. Probably interesting is that after the automatic download Firefox is offering to open it at the bottom of the screen. When I click there I get many many options but PassAndroid is not part of it. When I instead use the rolldown where Firefox is telling me "Download finished" it offers just PassAndroid and Google Drive-PDF-Viewer. I do not know why there is a difference and if it might be Firefox' fault or something else in the registration of the mime-type.

wrosenauer avatar Oct 28 '17 09:10 wrosenauer

I also have the exact same behavior with Firefox and Android 6. But as @wrosenauer mentioned, as the "download finished" notification allows me to open in PassAndroid, it is most likely a bug in Firefox

jvanbruegge avatar Nov 03 '17 15:11 jvanbruegge

I openend an issue on the firefox bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1414296

jvanbruegge avatar Nov 03 '17 15:11 jvanbruegge

I have the same issue also from the email application - I have tried to open the pkpass attachment using AquaMail application and it does not offer PassAndroid. Interestingly enough, it works from Gmail app.

mmerlin10 avatar Dec 29 '17 09:12 mmerlin10

I now have the same issue under Android 13. Passandroid is not offered as an option to open .pkpass-files. I have to load them manually into the app

avonheimburg avatar Oct 08 '22 17:10 avonheimburg

Same issue here. After downloading a .pkpass file for an event, it sits in my download folder, and firefox thankfully offers a "download complete" notification which I can just click.

grafik

This brings up the applications that can open files:

grafik

But PassAndroid is not in this list. If it were in this list, it would be so much easier to add tickets to it.

I also tried the passsource link above - it's the same problem there.

ccoenen avatar Aug 27 '23 08:08 ccoenen

I think it comes down to these intent-filters, like in Anki:

https://github.com/ankidroid/Anki-Android/blob/main/AnkiDroid/src/main/AndroidManifest.xml#L127-L193

ccoenen avatar Aug 27 '23 08:08 ccoenen