Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
730 stars 333 forks source link

Add multipart file upload for iOS #329

Open sxcore opened 1 year ago

sxcore commented 1 year ago

This PR proposes a fix to problem when file uploads restarts completely when iOS app comes back from background state.

Summary

Added functions that will split files in part and safely check and save them on disk, and when starting again the remains of previous multipart files will be removed from disk to prevent unnecessary disk usage.

Compatibility

OS Implemented
iOS
Android

Checklist