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 progress delegate method not called #202

Open
lukaswuerzburger opened this issue Nov 21, 2019 · 0 comments
Open

Upload progress delegate method not called #202

lukaswuerzburger opened this issue Nov 21, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@lukaswuerzburger
Copy link
Collaborator

I run Cauli without any special configuration:

Cauli.shared.run()

I have an upload mechanism in my app that works with URLSession's URLSessionUploadTask. I used the delegate methods instead of the callbacks.

Everything works fine, except the updating of the upload progress via the urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:) method from URLSessionTaskDelegate. This method simply doesn't get called, but all other ones do. When I don't run Cauli, it works.

@brototyp brototyp added the bug Something isn't working label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants