<!-- The current Nextcloud Android upload system has several limitations that affect enterprise users and large file transfers: - **Dynamic chunking** causes inconsistent upload behavior and memory issues - **Background upload termination** after ~10 minutes due to Android limitations - **Multiple notifications** spam users when uploading multiple files - **No upload resumption** capability across app restarts - **Poor cancellation responsiveness** - only works between chunks, not during These issues make the app unsuitable for enterprise environments requiring reliable large file transfers. ## Solution Overview This enhancement completely overhauls the upload system to provide **enterprise-grade reliability** with: ### 🎯 **Core Features** - **Fixed 1MB Chunking**: Consistent, predictable chunks for files ≥10MB using Nextcloud v2 protocol - **Background Upload Persistence**: Unlimited duration uploads via foreground service (30+ minutes tested) - **Intelligent Notification Management**: Single notification per active upload, no spam for queued files - **Upload Resumption**: Deterministic session IDs enable seamless resumption across app restarts - **Responsive Cancellation**: Cancel uploads during chunk processing, not just between chunks - **Enhanced Progress Reporting**: Real-time UI updates with proper throttling -->