cauli
cauli copied to clipboard
Upload progress delegate method not called
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.