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

Fix/9769 Community build with MockENManager cannot disable Exposure detection #5146

Closed flxschmidt closed 1 year ago

flxschmidt commented 1 year ago

Description

Solves a problem with the Exposure Logging Switch in the simulator, that the ENState will not be refreshed. The MockExposureManager will now inform UIApplicationDelegate.updateEnState(:) when the user enable/disable Exposure Logging in the simulator.

Link to Jira

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

Screenshots

https://user-images.githubusercontent.com/22373291/230047292-75b44fa3-ea12-4868-bb32-114226c500e5.mov