You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I turn off the internet and turn it back on the upload resumes and the addListener for 'completed' is still running in the background. And the code continues to execute in that listener in the background which I don't want because I have an HOC that refetches my data and gives a chance to upload again, is there any way to remove that addListener? or to cancel the ongoing upload when the internet is turned off. Also can I not just provide null in cancelUpload(null) to cancel all ongoing uploads???
The text was updated successfully, but these errors were encountered:
When I turn off the internet and turn it back on the upload resumes and the addListener for 'completed' is still running in the background. And the code continues to execute in that listener in the background which I don't want because I have an HOC that refetches my data and gives a chance to upload again, is there any way to remove that addListener? or to cancel the ongoing upload when the internet is turned off. Also can I not just provide null in cancelUpload(null) to cancel all ongoing uploads???
The text was updated successfully, but these errors were encountered: