ACTIVITY
Timeline
Timeline for the post: React Native Android background multipart upload resets to 0% after switching from cellular to Wi‑Fi
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 28, 2026, 9:44:48 AM 4w ago | Answer | erikethernet | CC BY-SA 4.0 | This is usually a combination of Android killing a non‑foreground background uploader during handover and the server not supporting resumable uploads. Fix in two parts: (1) make the Android upload resilient — run it under WorkManager/foreground service so it survives network changes and persists progress to disk; (2) implement a resumable protocol server-side (tus or multipart with upload IDs) so the client can reattach and send the remaining bytes after a restart. Short‑term, promoting uploads to a foreground service and ensuring tokens refresh on 401 will reduce restarts; long‑term, add a true resumable upload API. Both steps are reversible and testable by switching networks mid-upload and confirming progress continues rather than restarting. |
Oct 28, 2026, 9:44:48 AM 4w ago | Created | cloudklara | CC BY-SA 4.0 | React Native Android background multipart upload resets to 0% after switching from cellular to Wi‑Fi |