High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): Fix upload hang on iOS when deleting stale files (#5658)
Alexc7df800d27c0
diff --git a/mobile/lib/modules/backup/services/backup.service.dart b/mobile/lib/modules/backup/services/backup.service.dartindex 619dfc23b9..4bc6e19867 100644--- a/mobile/lib/modules/backup/services/backup.service.dart+++ b/mobile/lib/modules/backup/services/backup.service.dart@@ -225,8 +225,6 @@ class BackupService {}final String deviceId = Store.get(StoreKey.deviceId);final String savedEndpoint = Store.get(StoreKey.serverEndpoint);- File? file;- File? livePhotoFile;bool anyErrors = false;final List<String> duplicatedAssetIds = [];@@ -248,6 +246,9 @@ class BackupService {: assetList.toList();for (var entity in assetsToUpload) {+ File? file;+ File? livePhotoFile;+try {final isAvailableLocally =await entity.isLocallyAvailable(isOrigin: true);