capawesome-team / capacitor-firebase

⚡️ Firebase plugins for Capacitor. Supports Android, iOS and the Web.

Home Page:https://capawesome.io/plugins/firebase/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat(storage): support resumable uploads

bojanbizjak opened this issue · comments

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • 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