diff --git a/lib/main.dart b/lib/main.dart index 2cab538a8..d131f12db 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -71,7 +71,7 @@ Future _runInForeground() async { } Future _runBackgroundTask(String taskId) async { - if (Platform.isIOS && _isProcessRunning) { + if (_isProcessRunning) { _logger.info("Background task triggered when process was already running"); await _sync('bgTaskActiveProcess'); BackgroundFetch.finish(taskId);