-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: iOS Background Backup #235
Comments
It seems to be one of the important factors. In my case. |
One more thing that can be added is "background services" that can run at periodic intervals to scans for new images and upload them without the need to open the app. |
Just switch over to Immich, and notise that the you need to have the app open fof it to backup images as soon as i close it backup stops. would love to have a background services that scans for new photos and auto backs them up when im home and on wifi. |
Also the ability to only allow auto upload/backup of photos when on a specific WiFi network. |
Implemented in #382 for Android. We still need to implement the counterpart on iOS |
Is there any ETA for the feature on iOS? |
iOS is a massive pain for closing apps in the background. I've yet to see an app which backs up in the background that works 100% of the time on iOS. Best I've seen is https://www.photosync-app.com/home.html and they just accept it will only trigger backups on events such as AC power applied, or location based. |
Honestly I'd love to have what photosync does in immich. I used photosync before switching over to immich and it would auto backup all my photos at night (AC trigger), with immich I always have to remember to open the app and keep it open till its done. |
I'm just trying Immich for the first time tonight and everything looks really great and polished. But I cannot seem to get background sync to work at all. I seem to encounter #64 where I have to keep my screen on within Immich to get Immich to upload anything. Environment information
Server log
I've already disabled all battery optimizations and pinned the app according to Don't Kill My App. Of course I've enabled background sync on wifi. Is this behavior still to be expected? |
To be fair, if immich exposed a webdav, samba, ftp or s3 style interface then photosync could be used on iOS. I know separate apps is not the end goal of the project but might be a good interim solution? |
I'm making some edits to the issue as this now exists on android, I'm changing the issue to be iOS specific. |
Could we start a bounty on this? I am happy to contribute £10. |
I am an iOS developer who has recently implemented background syncing at my day job. I have never used Flutter before and I'm not ready to dive into that right now, but I'm happy to collaborate with anyone who wants to implement this. I think I can provide a good roadmap for interacting with the iOS background mode APIs. |
Hello, your input is highly appreciated, can you layout your thoughts, I and the team can work from our side on the Flutter implementation |
I'm interested in how well this works, even the big apps like moments (synology) and nextcloud still struggle with background backup on iOS. It's so frustrating that iOS doesn't provide an adequate API for non Apple apps. |
There are many ways to get background execution time on iOS. Most of them are attached to some specific kind of activity, like GPS navigation. But there are two types of generic background tasks you can ask the system to run:
The other background mode that might come in handy is geofencing. I haven't implemented this one before so I'm not as familiar with how the system treats these in practice. But according to the docs you should be able to execute some code in the background when the user enters a predetermined location (like their home). If I were implementing background syncing for Immich I would do the following:
|
@mplorentz I really like your approach. Hope this get implemented soon as I think this should be core feature of this service, to backup photo to nas instead of g photo cloud. I have some free time during Christmas week if you want to collaborate on this? |
Sorry it has been a busy few weeks for me but I have some free time the rest of the week if it's something you are still interested in. Maybe we should move collaboration to a GitHub Discussion thread, or we could find another band. I am |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Feature Details:
Screenshot of Android Implementation
Left: Backup Settings Screen
Right: Main Settings Page
Platform
Mobile App
The text was updated successfully, but these errors were encountered: