SwiftSDK icon indicating copy to clipboard operation
SwiftSDK copied to clipboard

Allow to change `URLSessionConfiguration` for uploading signals

Open mrackwitz opened this issue 2 years ago • 3 comments

Motivation

Use a background URL session via URLSessionConfiguration.background(withIdentifier:).

Status

I haven't gotten around yet to put this into practice. PR'ing this already for visibility and bike-shedding around design decisions.

Todos:

  • [ ] Actually try this out with a background session

mrackwitz avatar Apr 17 '23 11:04 mrackwitz

What's the status of this?

winsmith avatar May 07 '23 11:05 winsmith

We haven't shipped TelemetrySDK yet, as blocking the main thread on initialization, as described in #101, is a red flag for our specific use case. I've been wanting to look further into resolving this, but I didn't get around to it yet.

mrackwitz avatar May 08 '23 16:05 mrackwitz

Ah I see! I'll leave this open then, and will have a look myself at #101 when time allows.

winsmith avatar May 09 '23 09:05 winsmith