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 285 forks source link

Fix/15003 enf popups still showing #5134

Closed 30mar closed 1 year ago

30mar commented 1 year ago

Description

in EOL, Disable popups for:

  1. ENF activation
  2. Risk calculation
  3. background processing

IMPORTANT:

For the ENF popup this is shown at the initialization of the ENFManager in the appdelegate, this happens before initializing the store for the CWAHibernationProvider, so we can use the CWAHibernationProvider to test if reached for hibernation or not. for this specific case we have to manually check if Date() > HibernationDefaultDate.

For testers to test this please time travel AFTER 1.5.2023, the dev menu setting wont work here. For the 2 other popups you can test using dev menu or time travel.

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-15003

Screenshots

https://user-images.githubusercontent.com/15270737/228876967-2a8e8273-6c09-4745-b825-323dea24221a.MP4