DP-3T / dp3t-sdk-ios

The DP3T-SDK for iOS
Mozilla Public License 2.0
151 stars 61 forks source link

fixes issue of current day key export for iOS >= 13.7 #210

Closed stmitt closed 4 years ago

stmitt commented 4 years ago

This PR fixes an issue regarding the current day key export on devices with iOS greater than 13.7. Previously we were able to enable the EN framework, export the key, and then disable it again. Starting with iOS 13.7 this is not possible anymore if the application is in the background. Therefore we have to keep the EN framework enabled until we export the current day key. After we were able to export the key we disable the EN framework again.

As a result of that a user that publishes their keys won't be able to delete its infection status until we tried to export the current day key. This can be checked by the app with the bool DP3TTracing.isInfectionStatusResettable.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication