From d5ad35ea52e4ef4b53ba22bee64c9950e2ca7609 Mon Sep 17 00:00:00 2001 From: Thomas <9749173+uhthomas@users.noreply.github.com> Date: Fri, 30 Jan 2026 05:03:56 +0000 Subject: [PATCH] chore(mobile): remove references to fvm, add mise docs, use java 21 (#25703) --- mise.toml | 2 +- mobile/.fvmrc | 3 --- mobile/.gitignore | 5 +---- mobile/.vscode/settings.json | 4 +++- mobile/README.md | 12 +++++++----- 5 files changed, 12 insertions(+), 14 deletions(-) delete mode 100644 mobile/.fvmrc diff --git a/mise.toml b/mise.toml index ea66e3ad71..0e7237be20 100644 --- a/mise.toml +++ b/mise.toml @@ -19,7 +19,7 @@ flutter = "3.35.7" pnpm = "10.28.0" terragrunt = "0.98.0" opentofu = "1.11.4" -java = "25.0.1" +java = "21.0.2" [tools."github:CQLabs/homebrew-dcm"] version = "1.30.0" diff --git a/mobile/.fvmrc b/mobile/.fvmrc deleted file mode 100644 index e8b4151592..0000000000 --- a/mobile/.fvmrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "flutter": "3.35.7" -} \ No newline at end of file diff --git a/mobile/.gitignore b/mobile/.gitignore index 484c3f0afc..04eb74fddd 100644 --- a/mobile/.gitignore +++ b/mobile/.gitignore @@ -55,8 +55,5 @@ default.isar default.isar.lock libisar.so -# FVM Version -.fvm/ - # Translation file -lib/generated/ \ No newline at end of file +lib/generated/ diff --git a/mobile/.vscode/settings.json b/mobile/.vscode/settings.json index 3092c4565f..eafbef8102 100644 --- a/mobile/.vscode/settings.json +++ b/mobile/.vscode/settings.json @@ -2,7 +2,9 @@ "dart.flutterSdkPath": ".fvm/versions/3.35.7", "dart.lineLength": 120, "[dart]": { - "editor.rulers": [120] + "editor.rulers": [ + 120 + ] }, "search.exclude": { "**/.fvm": true diff --git a/mobile/README.md b/mobile/README.md index 59b2d9340c..1f0860ced6 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -4,10 +4,12 @@ The Immich mobile app is a Flutter-based solution leveraging the Isar Database f ## Setup -1. Setup Flutter toolchain using FVM. -2. Run `flutter pub get` to install the dependencies. -3. Run `make translation` to generate the translation file. -4. Run `fvm flutter run` to start the app. +1. [Install mise](https://mise.jdx.dev/installing-mise.html). +2. Change to the immich directory and trust the mise config with `mise trust`. +3. Install tools with mise: `mise install`. +4. Run `flutter pub get` to install the dependencies. +5. Run `make translation` to generate the translation file. +6. Run `flutter run` to start the app. ## Translation @@ -29,7 +31,7 @@ dcm analyze lib ``` [DCM](https://dcm.dev/) is a vendor tool that needs to be downloaded manually to run locally. -Immich was provided an open source license. +Immich was provided an open source license. To use it, it is important that you do not have an active free tier license (can be verified with `dcm license`). If you have write-access to the Immich repository directly, running dcm in your clone should just work. If you are working on a clone of a fork, you need to connect to the main Immich repository as remote first: