Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload does not fail in iOS, why? #166

Open
Zabi-Progton opened this issue Aug 30, 2019 · 1 comment
Open

Upload does not fail in iOS, why? #166

Zabi-Progton opened this issue Aug 30, 2019 · 1 comment

Comments

@Zabi-Progton
Copy link

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???

@pribeh
Copy link

pribeh commented Nov 16, 2019

also interested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants