AppDelegate

@UIApplicationMain
class AppDelegate : UIResponder, UIApplicationDelegate
extension AppDelegate: ENATaskExecutionDelegate
extension AppDelegate: CoronaWarnAppDelegate
extension AppDelegate: ExposureSummaryProvider

Undocumented

UISceneSession Lifecycle

  • Undocumented

    Declaration

    Swift

    func application(
    	_: UIApplication,
    	configurationForConnecting connectingSceneSession: UISceneSession,
    	options _: UIScene.ConnectionOptions
    ) -> UISceneConfiguration
  • Undocumented

    Declaration

    Swift

    func application(_: UIApplication, didDiscardSceneSessions _: Set<UISceneSession>)
  • This method executes the background tasks needed for fetching test results, performing exposure detection and executing plausible deniability fake requests.

    Note

    The method explicitly ignores the outcomes of all subtasks (success/failure) and will always call completion(true) when the subtasks finished regardless of their individual results. This will set the background task state to completed. We only mark the task as incomplete when the OS calls the expiration handler before all tasks were able to finish.

    Declaration

    Swift

    func executeENABackgroundTask(completion: @escaping ((Bool) -> Void))

Plausible deniability.