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.
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.