π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] Remove install-time gating from memories
aspizu1ea893b79998
diff --git a/mobile/apps/photos/lib/services/memories_cache_service.dart b/mobile/apps/photos/lib/services/memories_cache_service.dartindex 55d6a7f789..6156aff389 100644--- a/mobile/apps/photos/lib/services/memories_cache_service.dart+++ b/mobile/apps/photos/lib/services/memories_cache_service.dart@@ -842,17 +842,9 @@ class MemoriesCacheService {}}- bool _isRecentlyInstalled() {- final installTime = ServiceLocator.instance.packageInfo.installTime;- if (installTime == null) return false;- final installAge = DateTime.now().difference(installTime);- return !installAge.isNegative && installAge < const Duration(days: 21);- }-Future<bool> _shouldForceInitialMemoriesRefresh() async {if (!flagService.internalUser ||localSettings.hasForcedInitialMemoriesRefresh() ||- !_isRecentlyInstalled() ||!await _isMlReady()) {return false;}@@ -883,10 +875,6 @@ class MemoriesCacheService {return;}if (localSettings.initialMemoriesNotificationScheduledAt() != null) return;- if (!_isRecentlyInstalled()) {- await localSettings.markInitialMemoriesNotificationScheduled();- return;- }final notifications = NotificationService.instance;if (!await notifications.hasGrantedPermissions()) return;final strings = await LanguageService.locals;