capacitor-firebase
capacitor-firebase copied to clipboard
feat(storage): support resumable uploads
Plugin(s)
- [ ] Analytics
- [ ] App
- [ ] App Check
- [ ] Authentication
- [ ] Crashlytics
- [ ] Cloud Firestore
- [ ] Cloud Messaging
- [X] Cloud Storage
- [ ] Performance
- [ ] Remote Config
Current problem
Users can add images and videos on the iOS and Android platforms, which are now sent to Google Storage in chunks (https://cloud.google.com/storage/docs/performing-resumable-uploads#initiate-session) in the JS/Capacitor implementation. Such an upload method would be very welcome in a native implementation. We now store data about upload sessions in SQLite, and we plan to do so in the future as well.
Preferred solution
On iOS and Android platforms, a session key should be provided to be used for resume upload, as explained in the following link: https://firebase.google.com/docs/storage/android/upload-files#continuing_uploads_across_process_restarts
Alternative options
No response
Additional context
No response
Before submitting
- [X] I have read and followed the feature request guidelines.
- [X] I have attached links to possibly related issues and discussions.