π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
timeout on this day notification android at eod
laurenspriem9ea70c70d5a7
diff --git a/mobile/lib/services/memories_cache_service.dart b/mobile/lib/services/memories_cache_service.dartindex e5c7fb41e3..005146f8c7 100644--- a/mobile/lib/services/memories_cache_service.dart+++ b/mobile/lib/services/memories_cache_service.dart@@ -283,6 +283,7 @@ class MemoriesCacheService {channelName: "On this day",payload: memory.id,dateTime: scheduleTime,+ timeoutDurationAndroid: const Duration(hours: 16),);scheduledDates.add(scheduleTime);}diff --git a/mobile/lib/services/notification_service.dart b/mobile/lib/services/notification_service.dartindex b56e9c5f50..f6153651b4 100644--- a/mobile/lib/services/notification_service.dart+++ b/mobile/lib/services/notification_service.dart@@ -150,6 +150,7 @@ class NotificationService {String channelName = "ente",String payload = "ente://home",required DateTime dateTime,+ Duration? timeoutDurationAndroid,}) async {_logger.info("Scheduling notification with: $title, $message, $channelID, $channelName, $payload",@@ -173,6 +174,7 @@ class NotificationService {priority: Priority.high,category: AndroidNotificationCategory.reminder,showWhen: false,+ timeoutAfter: timeoutDurationAndroid?.inMilliseconds,);final iosSpecs = DarwinNotificationDetails(threadIdentifier: channelID);final platformChannelSpecs =