corona-warn-app / cwa-wishlist

Central repository to collect community feature requests and improvements. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
106 stars 14 forks source link

iOS Wallet support for vaccination certificates #646

Open dennispost opened 2 years ago

dennispost commented 2 years ago

Feature description

Add possibility to add vaccination certificate to iOS Wallet. See: https://developer.apple.com/news/?id=7h3vwlh5

Problem and motivation

Many venues issue tickets with Wallet support. It would be nice if the vaccination certificate is available at the same place and one doesn't need to change apps to show both at venue entrance.

Is this something you're interested in working on

Yes, only inside iOS


Internal Tracking ID: EXPOSUREAPP-7811

jucktnich commented 2 years ago

This was already declined in another issue :-(

Ein-Tim commented 2 years ago

I think you are mixing something up here @dennispost.

On one side verifiable health records (which are mentioned in the link you provided) now (with iOS 15) also support COVID-19 vaccinations and test results with the option to also store certificates in the apple wallet directly from the health app (where the verifiable health records are stored). This is difficult to implement into the currently in use EU digital COVID certificate system as this requires an alignment to the SMART Health Card System.

On the other side there is the possibility to store an EU digital COVID certificate in Apple Wallet (e.g. https://covidpass.marvinsextro.de/de-DE does this). This could, in theory, also be implemented in the Corona-Warn-App (e.g. the user has a button "Add to Wallet" when the user clicks on a certificate). However, as @jucktnich mentioned above, this has been declined already in https://github.com/corona-warn-app/cwa-app-ios/issues/2965 with this justification: "We have decided against this feature because of the legal restrictions and drawbacks regarding the privacy of the stored data."

I suggest you read through https://github.com/corona-warn-app/cwa-app-ios/issues/2965 and the mentioned issues in https://github.com/corona-warn-app/cwa-app-ios/issues/2965 to get a better overview over what's going on.

I hope I didn't mix up anything here πŸ˜…

Have a nice evening!

Ein-Tim commented 2 years ago

@dsarkar How should we proceed with this issue?

dsarkar commented 2 years ago

Issue added to Internal Tracking ID: EXPOSUREAPP-7811

@Ein-Tim I suggest to keep it open, so we don't get new issues on the topic.

BastianZim commented 2 years ago

How about changing this to a feature request instead for a conversion software? Apple uses the SMART Health Card standard which is open source and available on GitHub. It should be very simple to support this:

Website: https://smarthealth.cards Tech spec: https://spec.smarthealth.cards GitHub: https://github.com/smart-on-fhir/health-cards An organization supporting this for vaccine cards specifically: https://vaccinationcredential.org/about

If the Corona-Warn-App could support exporting the vaccination card to this standard, the users could decide on their own if they want it and https://github.com/corona-warn-app/cwa-app-ios/issues/2965 could also be solved.

Ein-Tim commented 2 years ago

@BastianZim

If the Corona-Warn-App could support exporting the vaccination card to this standard, the users could decide on their own if they want it and corona-warn-app/cwa-app-ios#2965 could also be solved.

This sounds like a good idea, however, one question which needs to be answered:

Is it possible to include the same data as in the current certificates in the SMART Health cards? This is necessary since the QR code needs to be scannable by the verifier apps. If not, this doesn't seem like a good idea.

BastianZim commented 2 years ago

I believe it just verifies that the information was signed by an official institution, not what kind of information it is so that shouldn't restrict it. Then again I haven't looked at this in-depth yet.

Reference: https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator

Skudo commented 2 years ago

My experience with showing an Apple Wallet card as my proof of vaccination has been good most of the time for the last couple months;Β both here and in Canada, where my QR code from the EU can actually be verified!

Practically all issues I've had with the Apple Wallet card are due to its small size – amplified by the size of my iPhone 12 Mini –, as the QR code contains quite a lot of data. Apple seems to address this by showing significantly larger QR codes for SMART Health Cards, but I think there is no working way for larger QR codes in Apple Wallet.

Something with which I've been playing around for a few days now is having a widget that displays my QR code, which can be accessed without Face ID. I understand that it is not a solution for everyone, because granting access to widgets whilst the phone is locked introduces other privacy/security concerns, depending on which other widgets are set up on that view.

I'm hoping for CWA to provide a solution for this in one way or another, because having a fast way to access and show your QR code helps a lot with acceptance. Even if you "prepare" for the check whilst queueing up, once your screen goes dark again, your "preparation" went down the drain. Actually, I'm hoping for CWA to be able to leverage the SMART Health Cards standard, because not being able to scan the tiny QR code of a regular Apple Wallet card harms acceptance, as well.

jucktnich commented 2 years ago

@Skudo is the code on the 12 mini smaller then on the Apple Watch cause I've never had problems showing my Vac cert on my watch (besides ppl not knowing that they need to scan the qr code and not recognising the layout of the wallet card).

Skudo commented 2 years ago

@jucktnich The QR code is about 22 mm wide. Am I right assuming the QR code essentially covers the entire watch screen?

Almost always, it seems to be a combination of maybe a bad camera sensor to begin with, focusing issues, and the person scanning the QR code that causes the failure to recognise it. Small code => they want to get closer for the scanner to read the QR code => they get past the minimum focusing distance of their device => everyone is sad.

To be fair though: It doesn't happen that often to me, maybe once a week.

jucktnich commented 2 years ago

@Skudo I'm using a 44 mm model, so screenWidth = sqrt((44^2)/2) = 31.1 mm; so yeah my qr code is bigger πŸ˜…

hfhbd commented 2 years ago

The latest version of iOS (15.4) supports EU Covid 19 certificates:

Verifiable health records now support adding vaccination records in the EU Digital COVID Certificate (EU DCC) format to the Wallet and Health apps. (79917344)

It also does not show any cards in Wallet at the (locked) lock screen, only when unlocked. IMG_1121