cauli icon indicating copy to clipboard operation
cauli copied to clipboard

Upload progress delegate method not called

Open lukaswuerzburger opened this issue 5 years ago • 0 comments

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.

lukaswuerzburger avatar Nov 21 '19 17:11 lukaswuerzburger