Chunked Uploads:
- By breaking large files into smaller chunks (e.g., 5-10MB each).
- Upload these chunks individually and reassemble them on the server.
- This allows for easier resume of interrupted uploads and better control over network usage.
- we can use Android's WorkManager or a foreground service to handle uploads in the background. and by Providing clear progress indicators for large file operations.
- and we would use notification system to keep users informed about long-running uploads.
Protocol-
- HTTP/HTTPS with Chunked Upload:
- Send multiple POST/PUT requests, each containing:
Upload ID
Chunk number
Chunk data