Skip to content

Upload progress delegate method not called #202

@lukaswuerzburger

Description

@lukaswuerzburger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions