Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

More logs

laurenspriembdd09e12d8cf
diff --git a/mobile/lib/services/memories_cache_service.dart b/mobile/lib/services/memories_cache_service.dart
index 3baceb3415..a32e7ed8c0 100644
--- a/mobile/lib/services/memories_cache_service.dart
+++ b/mobile/lib/services/memories_cache_service.dart
@@ -281,6 +281,9 @@ class MemoriesCacheService {
dateTime: scheduleTime,
);
scheduledDates.add(scheduleTime);
+ _logger.info(
+ "Scheduled notification for memory ${memory.id} on $scheduleTime",
+ );
}
}
diff --git a/mobile/lib/services/notification_service.dart b/mobile/lib/services/notification_service.dart
index c989a35cfc..94259efa33 100644
--- a/mobile/lib/services/notification_service.dart
+++ b/mobile/lib/services/notification_service.dart
@@ -227,8 +227,13 @@ class NotificationService {
);
continue;
}
- _logger.info("Clearing notification with id: ${request.id}");
+ _logger.info(
+ "Clearing notification with id: ${request.id} and payload: ${request.payload}",
+ );
await _notificationsPlugin.cancel(request.id);
+ _logger.info(
+ "Cleared notification with id: ${request.id} and payload: ${request.payload}",
+ );
}
} catch (e, s) {
_logger.severe("Something is wrong with scheduled notifications", e, s);