[Bug] Mobile, iOS app loses state on app switch #1124

Closed
opened 2026-02-05 00:33:11 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @klejejs on GitHub (Jul 17, 2023).

The bug

When quickly switching apps in iOS or even opening recents view, mobile app loses active state and backups are restarted or stopped if foreground backup is turned off. In noticed this because GPhotos saves state and backups continue after the app is reopened. It is especially annoying if a large video is being uploaded as it restarts the whole progress.
I am not sure, if it is an implementation issue or limitation of Flutter, it would be nice to understand that and fix the problem.

The OS that Immich Server is running on

N/A

Version of Immich Server

v1.67.2

Version of Immich Mobile App

v1.67.2

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. Open app
2. Start backup
3. Open recents and click on Immich again
4. Backup is restarted

Additional information

No response

Originally created by @klejejs on GitHub (Jul 17, 2023). ### The bug When quickly switching apps in iOS or even opening recents view, mobile app loses active state and backups are restarted or stopped if foreground backup is turned off. In noticed this because GPhotos saves state and backups continue after the app is reopened. It is especially annoying if a large video is being uploaded as it restarts the whole progress. I am not sure, if it is an implementation issue or limitation of Flutter, it would be nice to understand that and fix the problem. ### The OS that Immich Server is running on N/A ### Version of Immich Server v1.67.2 ### Version of Immich Mobile App v1.67.2 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Open app 2. Start backup 3. Open recents and click on Immich again 4. Backup is restarted ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Jul 17, 2023):

I think we just didn't write code to specifically handle this scenario

@alextran1502 commented on GitHub (Jul 17, 2023): I think we just didn't write code to specifically handle this scenario
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1124