diff --git a/Covid19Radar/Covid19Radar.Android/MainApplication.cs b/Covid19Radar/Covid19Radar.Android/MainApplication.cs index cd1b18d69..c4dbe8e98 100644 --- a/Covid19Radar/Covid19Radar.Android/MainApplication.cs +++ b/Covid19Radar/Covid19Radar.Android/MainApplication.cs @@ -102,15 +102,6 @@ private void ScheduleBackgroundTasks() _loggerService.Value.Exception("Failed to schedule ExposureDetectionBackgroundService", exception); } - try - { - _eventLogSubmissionBackgroundService.Value.Schedule(); - } - catch (Exception exception) - { - _loggerService.Value.Exception("Failed to schedule EventLogSubmissionBackgroundService", exception); - } - try { _dataMaintainanceService.Value.Schedule(); diff --git a/Covid19Radar/Covid19Radar.Android/Services/Migration/WorkManagerMigrator.cs b/Covid19Radar/Covid19Radar.Android/Services/Migration/WorkManagerMigrator.cs index c40b7b290..d9b5d2864 100644 --- a/Covid19Radar/Covid19Radar.Android/Services/Migration/WorkManagerMigrator.cs +++ b/Covid19Radar/Covid19Radar.Android/Services/Migration/WorkManagerMigrator.cs @@ -46,7 +46,6 @@ internal Task ExecuteAsync() _exposureDetectionBackgroundService.Schedule(); _dataMaintainanceBackgroundService.Schedule(); - _eventLogSubmissionBackgroundService.Schedule(); _loggerService.EndMethod(); diff --git a/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs b/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs index 36831be33..0d9010578 100644 --- a/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs +++ b/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs @@ -137,15 +137,6 @@ private void ScheduleBackgroundTasks() _loggerService.Value.Exception("Failed to schedule ExposureDetectionBackgroundService", exception); } - try - { - _eventLogSubmissionBackgroundService.Value.Schedule(); - } - catch (Exception exception) - { - _loggerService.Value.Exception("Failed to schedule EventLogSubmissionBackgroundService", exception); - } - try { _dataMaintainanceBackgroundService.Value.Schedule(); diff --git a/Covid19Radar/Covid19Radar/App.xaml.cs b/Covid19Radar/Covid19Radar/App.xaml.cs index ac0ce81ca..ff9e7749f 100644 --- a/Covid19Radar/Covid19Radar/App.xaml.cs +++ b/Covid19Radar/Covid19Radar/App.xaml.cs @@ -278,10 +278,6 @@ private async Task ExecuteBackgroundTask() await EventLogRepository.RotateAsync( AppConstants.EventLogFileExpiredSeconds); - - await EventLogService.SendAllAsync( - AppConstants.EventLogMaxRequestSizeInBytes, - AppConstants.EventLogMaxRetry); } catch (Exception ex) {