react-native-tus-client icon indicating copy to clipboard operation
react-native-tus-client copied to clipboard

Uploading not resume when i kill and restart app in android

Open pkpardeep482 opened this issue 4 years ago • 1 comments

Scenario:

-> Uploaded a file 200+mb -> on 16%, Internet disconnected and app killed from background -> Once restarted app, its again uploading from 0% .

basically its not resuming in case of app kill

pkpardeep482 avatar Apr 16 '20 06:04 pkpardeep482

I'm also experiencing the same issue. Specifically, I get this crash report in Sentry when uploading using TUS and putting the app in the background

EXC_BAD_ACCESS: stream:handleEvent: > XTUM >
KERN_INVALID_ADDRESS at 0x4dad5b9db79e.

Can't seem to get much information when I search for this error. But it happens consistently when I put the app in the background. Eventually when I return, the app restarts and the file upload starts from 0%

The expected behavior is to continue uploads in the background, is this not a feature of TUS?

miguelespinoza avatar Mar 11 '24 13:03 miguelespinoza