ligi / PassAndroid

Android App to view passes
GNU General Public License v3.0
821 stars 134 forks source link

How to scan a QR code? #530

Open raxod502 opened 1 month ago

raxod502 commented 1 month ago

My airline ticket comes in the form of a QR code that I am supposed to scan to add it to my phone. I see other issue reports on this project mentioning compatibility with various QR scanning apps, so I assume there is a way to use PassAndroid to scan a QR code. However, I can't find anywhere this is exposed as an option in the user interface. Also, there appears to be no documentation for this project, so I'm unable to answer the question myself.

How does one scan a QR code using PassAndroid? Can this be added to the documentation?

matthieu-bt commented 1 month ago

I have the same question here. I just received a card, and the website asks me to "scan the QR Code", so it can be imported to Google Wallet. The QR code seems to be a hyperlink to "gowento.com".

Is it possible to do that with PassAndroid?

raxod502 commented 1 month ago

I understand more about this than I did when I originally filed the issue. There's no such thing as a QR code that scans into a mobile wallet. That doesn't exist.

What does exist, is a QR code that just has the URL of a website that implements a proprietary OAuth integration with Google, Apple, or Samsung.

So this is fundamentally not something that is possible to implement in PassAndroid. However, I leave the issue open because I think the documentation should touch on this point - I anticipate it is a point of frequent confusion due to unclear directions provided by third parties.