corona-warn-app / cwa-app-ios

Native iOS app using the exposure notification framework from Apple. 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
1.68k stars 284 forks source link

Certificates don't store on iPhone Simulator #2907

Closed Ein-Tim closed 3 years ago

Ein-Tim commented 3 years ago

Avoid duplicates

Technical details

Describe the bug

The vaccination certificate does not store correctly in the Simulator:

https://user-images.githubusercontent.com/67682506/121705991-7d105800-cad5-11eb-89b1-931122668b7f.mp4

Steps to reproduce the issue (Instructions for the release/2.4.x branch)

  1. Open the Corona-Warn-App on a Simulator
  2. Click on "Certificates" in the tab bar
  3. Click on the card "Add Digital Proof of Vaccination"
  4. See the pop-up saying "Digital Proof of Vaccination"
  5. Close the pop-up via the x in the right corner
  6. See that the vaccination certificate was not added to the app

Expected behaviour

The certificate should have been added.

Possible Fix

Store the certificate in the db.

Additional context

Could be that this is intended on a Simulator - if it's please clarify why.


Internal Tracking-ID: EXPOSUREAPP-7969

heinezen commented 3 years ago

@Ein-Tim

Thanks for reporting. The dev team has been informed. Tracked under EXPOSUREAPP-7969


Corona-Warn-App Open Source Team

Ein-Tim commented 3 years ago

Problem persists on release/2.5.x branch.

Ein-Tim commented 3 years ago

Sadly, this is also a problem on the release/2.6.x branch. I would have liked to take a look at the new DCC rules feature and also include it in my Tweet about the next version from Corona-Warn-App... 😕

dsarkar commented 3 years ago

@Ein-Tim We updated the internal ticket accordingly. Thanks.

ndegendogo commented 3 years ago

@Ein-Tim try this and consider to close the ticket

Ein-Tim commented 3 years ago

This issue was solved by the Universal QR code scanner too, it's now possible to import real certificates into the Simulator and they will store there.

Thanks @ndegendogo for pointing this out in https://github.com/corona-warn-app/cwa-app-ios/issues/3567#issuecomment-932827610.

Closing as fixed.

ndegendogo commented 3 years ago

😁😁😁😁😁