Skip to content

High performance self-hosted photo and video management solution.

Up mobile version and update deprecated api

Alex2e06be515538
diff --git a/mobile/android/fastlane/Fastfile b/mobile/android/fastlane/Fastfile
index c7e0ee047e..1708a0f2b4 100644
--- a/mobile/android/fastlane/Fastfile
+++ b/mobile/android/fastlane/Fastfile
@@ -31,7 +31,7 @@ platform :android do
build_type: 'Release',
properties: {
"android.injected.version.code" => 43,
- "android.injected.version.name" => "1.30.0",
+ "android.injected.version.name" => "1.29.1",
}
)
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
diff --git a/mobile/android/fastlane/metadata/android/en-US/changelogs/43.txt b/mobile/android/fastlane/metadata/android/en-US/changelogs/43.txt
new file mode 100644
index 0000000000..e88d82080a
--- /dev/null
+++ b/mobile/android/fastlane/metadata/android/en-US/changelogs/43.txt
@@ -0,0 +1 @@
+* Update deprecated API that causes notification not dismissing after background upload progress finished.
\ No newline at end of file
diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile
index 41089b5b15..8375548c3d 100644
--- a/mobile/ios/fastlane/Fastfile
+++ b/mobile/ios/fastlane/Fastfile
@@ -19,7 +19,7 @@ platform :ios do
desc "iOS Beta"
lane :beta do
increment_version_number(
- version_number: "1.30.0"
+ version_number: "1.29.1"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
diff --git a/mobile/lib/modules/backup/services/backup.service.dart b/mobile/lib/modules/backup/services/backup.service.dart
index fe39029016..92655e4142 100644
--- a/mobile/lib/modules/backup/services/backup.service.dart
+++ b/mobile/lib/modules/backup/services/backup.service.dart
@@ -127,7 +127,9 @@ class BackupService {
for (int i = 0; i < albums.length; i++) {
final AssetPathEntity? a = albums[i];
if (a != null && a.lastModified?.isBefore(lastBackup[i]) != true) {
- result.addAll(await a.getAssetListRange(start: 0, end: a.assetCount));
+ result.addAll(
+ await a.getAssetListRange(start: 0, end: await a.assetCountAsync),
+ );
lastBackup[i] = now;
}
}
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index e707fcb513..be58c5a992 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -2,7 +2,7 @@ name: immich_mobile
description: Immich - selfhosted backup media file on mobile phone
publish_to: "none"
-version: 1.30.0+43
+version: 1.29.1+43
environment:
sdk: ">=2.17.0 <3.0.0"