From 9be1f7fe002daeef27a289d139c537afb04fa352 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Thu, 26 Dec 2024 12:15:18 -0500 Subject: [PATCH] make notifications silent --- lib/entities/background_tasks.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/entities/background_tasks.dart b/lib/entities/background_tasks.dart index 71cde7569..8d2716794 100644 --- a/lib/entities/background_tasks.dart +++ b/lib/entities/background_tasks.dart @@ -474,6 +474,10 @@ Future initializeService(FlutterBackgroundService bgService, bool useNotif "${notificationChannelName}_$i", description: notificationChannelDescription, importance: Importance.min, + playSound: false, + showBadge: false, + enableVibration: false, + enableLights: false, ); await flutterLocalNotificationsPlugin .resolvePlatformSpecificImplementation()