react-native-background-upload icon indicating copy to clipboard operation
react-native-background-upload copied to clipboard

What if the device restarted or lost internet connection, Does it continue uploading? -- Discussion

Open YassinEldeeb opened this issue 4 years ago • 2 comments

Firstly sorry for making it an issue but honestly I didn't find answer for that question or even had the chance to test it out using the background upload express example It was always throwing me an Invalid regex error.

What if the device restarted or lost connection during the background uploading, Does it continue as soon as the device have an internet connection again or not 🤔

YassinEldeeb avatar Aug 24 '21 04:08 YassinEldeeb

Based on my testing, going into Airplane mode for a few minutes does not impact the upload. It uploads once reconnected. However, I did test going on Airplane mode for an extended amount of time (over 30 mins) and the upload failed in those cases.

elleryfamilia avatar Sep 24 '21 01:09 elleryfamilia

Thank you.

YassinEldeeb avatar Sep 24 '21 08:09 YassinEldeeb