[Feature] Android App - Connection check in Background-Task before uploading and showing notification #18912
yumperz
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Hi,
I'm on vacation right now and my homeserver shutted down recently. The android app reacts kinda weird when the server is not accessible. So I'd recommend a connection test before the upload cycle starts. And an incrementing interval between restarts if the connection failed.
Why?
First problem:
As soon as the upload criteria is met (charging and on wifi) it starts the upload process and shows the notification that it tries to upload x amount. After some time I get the android overlay that says "the app Immich might have a problem. Do you want to wait or end the process?". So the background task is trying it's best to upload but it will never finish succeed so the process gets stuck.
When I kill the process the background task will just start again immediately and the issue repeats.
Second problem:
Wasn't a one time thing but I don't have solid STRs for this one:


The background task started and exited mutliple times a second. I noticed the red notification bubble on the homescreen app-icon has gone wild.
It shows for a few milliseconds and disappeared again multiple times a second. In the same time the "open tasks" menu on android showed one background app appearing and disappearing in the same rapid interval.
That one happens randomly sometimes and only stops if the upload criteria failed. So unplugging the charger or disable wifi for a few seconds. I don't know exactly but I think it has smth to do with the failed connection too.
Kind regards,
Yumperz
Platform
Beta Was this translation helpful? Give feedback.
All reactions