Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): app crash when there is no object detection result on search page (#725)

Alex10239161fd04
diff --git a/mobile/android/fastlane/Fastfile b/mobile/android/fastlane/Fastfile
index 1708a0f2b4..9206e98344 100644
--- a/mobile/android/fastlane/Fastfile
+++ b/mobile/android/fastlane/Fastfile
@@ -30,8 +30,8 @@ platform :android do
task: 'bundle',
build_type: 'Release',
properties: {
- "android.injected.version.code" => 43,
- "android.injected.version.name" => "1.29.1",
+ "android.injected.version.code" => 44,
+ "android.injected.version.name" => "1.29.4",
}
)
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/44.txt b/mobile/android/fastlane/metadata/android/en-US/changelogs/44.txt
new file mode 100644
index 0000000000..2b19db7980
--- /dev/null
+++ b/mobile/android/fastlane/metadata/android/en-US/changelogs/44.txt
@@ -0,0 +1 @@
+* Fixed app crashes when there is no object detection result.
\ No newline at end of file
diff --git a/mobile/android/fastlane/report.xml b/mobile/android/fastlane/report.xml
index f0ed470cf0..82f1d3a1cb 100644
--- a/mobile/android/fastlane/report.xml
+++ b/mobile/android/fastlane/report.xml
@@ -5,17 +5,17 @@
- <testcase classname="fastlane.lanes" name="0: default_platform" time="0.00023">
+ <testcase classname="fastlane.lanes" name="0: default_platform" time="0.00043">
</testcase>
- <testcase classname="fastlane.lanes" name="1: bundleRelease" time="58.722434">
+ <testcase classname="fastlane.lanes" name="1: bundleRelease" time="71.114285">
</testcase>
- <testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="36.768014">
+ <testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="36.949677">
</testcase>
diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile
index 8375548c3d..19ccc7d2d0 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.29.1"
+ version_number: "1.29.4"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
diff --git a/mobile/lib/modules/search/views/search_page.dart b/mobile/lib/modules/search/views/search_page.dart
index 6254540b84..d80a18a353 100644
--- a/mobile/lib/modules/search/views/search_page.dart
+++ b/mobile/lib/modules/search/views/search_page.dart
@@ -99,9 +99,9 @@ class SearchPage extends HookConsumerWidget {
_buildThings() {
return curatedObjects.when(
- loading: () => const SizedBox(
- height: 200,
- child: Center(child: ImmichLoadingIndicator()),
+ loading: () => SizedBox(
+ height: imageSize,
+ child: const Center(child: ImmichLoadingIndicator()),
),
error: (err, stack) => Text('Error: $err'),
data: (objects) {
@@ -133,8 +133,7 @@ class SearchPage extends HookConsumerWidget {
),
)
: SizedBox(
- // height: imageSize,
- width: imageSize,
+ height: imageSize,
child: ListView.builder(
padding: const EdgeInsets.only(left: 16),
scrollDirection: Axis.horizontal,
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index be58c5a992..26e3d0ff9d 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.29.1+43
+version: 1.29.4+44
environment:
sdk: ">=2.17.0 <3.0.0"
diff --git a/server/apps/immich/src/constants/server_version.constant.ts b/server/apps/immich/src/constants/server_version.constant.ts
index a774fcf563..132c6a5819 100644
--- a/server/apps/immich/src/constants/server_version.constant.ts
+++ b/server/apps/immich/src/constants/server_version.constant.ts
@@ -11,6 +11,6 @@ export interface IServerVersion {
export const serverVersion: IServerVersion = {
major: 1,
minor: 29,
- patch: 2,
- build: 43,
+ patch: 4,
+ build: 44,
};