Background Video Upload

Hey everyone - does anyone have any recommendations for how to upload video files recorded on the phone to a web service? It seems like we are running into a couple of issues:

  1. Uploads quit when app is backgrounded (at least on iOS)
  2. Sometimes, app crashes when attempting to upload large video file.

Has anyone had any luck handling this? We are attempting to upload videos up to 500MB. Thanks.

1 Like

use FileSystem.uploadAsync and set session type to background: FileSystem - Expo Documentation


@brents you are a lifesaver!!! Iā€™m so happy I could cry! For anyone else on this thread, this call does run in the background and the file continues uploading even when the app is backgrounded.

Thanks so much!

1 Like

I was getting the same issue.
thank you so much.