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

Remove precondition failure for Production #5164

Closed 30mar closed 1 year ago

30mar commented 1 year ago

Description

We had a Precondition Failure in case we run on a scheme other than Production in en the MockEnaManager.

To reproduce the crash Just change if #Prod to if #debug. in the MockENManager class.

To test that the solution is working remove the line as done in the PR, the app will start normally

Jira Link:

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