nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.18k stars 1.75k forks source link

Auto upload uses mobile data #11674

Open FireFury0 opened 1 year ago

FireFury0 commented 1 year ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. Auto upload is turned on, with "Only upload on unmetered Wi-Fi" ticked.
  2. Record a long video.

Expected behaviour

Video should upload once the phone logs back onto a wifi network. It should NOT use mobile data for the upload.

Actual behaviour

The video uploads (successfully) once the phone is on a wifi network. Some time later, while not connected to the wifi, the video appears to be re-uploaded over mobile data (I see a large number of PUT requests to /remote.php/dav/uploads/// but I don't appear to see a MOVE at the end of the upload, nor does the Nextcloud activity log show that anything has been uploaded, so presumably the upload does not succeed).

Turning off "background data" for the Nextcloud app in Android's settings appears to have worked around the issue.

Android version

12

Device brand and model

Fairphone 4

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.24.2

Nextcloud server version

25.0.3

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

Running the stock Android 12, but rooted.

MillironX commented 1 year ago

Same here.

Android version

13

Device model

OnePlus 7 Pro (Guacamole)

Custom OS

LineageOS + MicroG

Nextcloud Android App version

3.25.0

Nextcloud server version

27.0.0

Using reverse proxy?

Yes: Traefik 2.10

joshtrichards commented 9 months ago

Related: #6851

kartoffelheinz commented 5 months ago

This is a MAJOR pita and needs to be addressed as soon as possible. The app not respecting "only upload on unmetered wifi" not only cost me frequently money (remote location with sattelite uplink), it also causes distress in a team environment, where my device sucks up all the available bandwith for uploads which should only occur on non-metered wifis.