[Feature] Enable Linux build for mobile app #14485
Replies: 4 comments 4 replies
-
We do not support or encourage use of the mobile app on desktop, and on platforms where it can technically be done (like you linked) it is generally broken and we do not support/bugfix for it. A linux mobile app would be a reasonable request but I am not sure this would be a high priority anytime soon. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
All in all its not bad to get a base up and running. The problem is definitely going to be the plugins and making sure they support linux and adjusting all the ios/android specific fixes to make them work on linux. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your work on this. If there are any changes on the Immich side that can make this process easier without affecting behavior/performance on Android or iOS, a PR would probably be welcome. If you want to write up your process we can probably include a link on this page if it's kept up to date and easy for someone else to use: https://immich.app/docs/community-guides As for why we generally haven't encouraged desktop use, it's because this would be effectively another platform that we would have to test/optimize/develop for, that the team is not able to take on at this time. |
Beta Was this translation helpful? Give feedback.
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
Mobile app support for linux would be great as it will help with photo management on a linux laptop/desktop or mobile linux phone. There are more and more mobile linux phones being developed with a working camera so being able to backup those images via a familiar interface would be perfect. As of right now the only possible way to get a immich application working is to go via a android emulator but that has limitations since it wont have access to the host images. While going through the web client does allow us to view and even upload images, it does not provide a method of keeping our local images synced and would instead require us to manually selecting all the images to upload instead of the mobile app method of selecting directories and it automatically uploading missing images. Even without the background syncing ability (assuming this doesnt work) having to open the immich mobile app would be a big improvement.
Looks like flutter is used for the mobile apps and that has support for building for linux. I did see a response for a similar feature on the macos side so i figured i would create a discussion for linux itself. #14058 (reply in thread). I was able to find this documentation on getting started with an android and desktop linux app so it might be a good starting point and hopefully it is as simple as they make it out to be.
https://docs.flutter.dev/platform-integration/linux/install-linux/install-linux-from-android
As for distribution of the linux app, it seems the most universal way with a good update system would be via flatpak which should work across all linux distributions. It would also make it so people download the application straight from you guys if you guys publish to flathub directly to avoid any issues with the source and dependencies.
I did find this discussion #1427 from 2023 but it seemed to be categorized incorrectly and the conclusion from back then was to only build a desktop sync agent. Enabling a linux build of the already built mobile app would be a better solution as it would instead keep the interaction the same across all platforms instead of having unique/limited UX for each desktop OS.
Platform
Beta Was this translation helpful? Give feedback.
All reactions