covidpass-org / covidpass

Web app for adding EU Digital COVID Certificates to your wallet apps
https://covidpass.marvinsextro.de
MIT License
1.18k stars 64 forks source link

QR Code support international #92

Closed GabrielCartier closed 2 years ago

GabrielCartier commented 3 years ago

Hello, Canadian here. Our vaccination passport is going live in a week or so and like other countries, the app offered does not allow the usage of the wallet.

I was wondering if there is any plan to support international QR code.

Actually, I'd be interested in knowing a bit more about where the decoding is being done and what are the limitations or how to implement support for Canadian code. If someone would give me some pointers I can certainly open a PR.

Thanks

wajdi-b commented 3 years ago

Will COVIDPass ever support other QR codes than the European one? Or should we fork the repo?

Regarding the Canadian QR code, here’s a project that shows how to read it.

JantsoP commented 3 years ago

This might be a bit hard to do, since there is no global standard for this system. As mentioned above, Canada has own, idk about US or LATAM or Africa/Asia region. And if all of them would have their own standard, it would be hell to upkeep. Just giving my two cents on this.

kmavai commented 3 years ago

I believe BC and Quebec in Canada use the Smart Health Cards. More info on it here and here. I was able to scan the BC QR code with iOS 15 beta and add it into my Health app as a vaccine record. It also has a copy of the QR code, but it's not very easily accessible compared to the Wallet app.

One thing I haven't been able to find is if the Wallet app QR codes support the type of QR code needed for the vaccine records. Need to do some more digging around.

wajdi-b commented 3 years ago

This might be a bit hard to do, since there is no global standard for this system. As mentioned above, Canada has own, idk about US or LATAM or Africa/Asia region. And if all of them would have their own standard, it would be hell to upkeep. Just giving my two cents on this.

I believe there are ways to structure the code such that each country has it’s own code file with the QR code logic, but that’s more about the project’s vision. Right now the description is

Web app for adding EU Digital COVID Certificates to your wallet apps

If that’s not changing then better fork it.

wajdi-b commented 3 years ago

I have found this fork that works with passes using Smart Health Card format. Works in QC (ON and BC too?) @GabrielCartier @kmavai

marvinsxtr commented 3 years ago

Also, there is this fork, which is currently gaining popularity in Canada.