SwiftSDK
SwiftSDK copied to clipboard
Allow to change `URLSessionConfiguration` for uploading signals
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
What's the status of this?
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.
Ah I see! I'll leave this open then, and will have a look myself at #101 when time allows.