react-native-tus-client
react-native-tus-client copied to clipboard
Uploading not resume when i kill and restart app in android
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
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?