Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to change URLSessionConfiguration for uploading signals #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrackwitz
Copy link
Contributor

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

@winsmith winsmith marked this pull request as ready for review May 7, 2023 11:21
@winsmith
Copy link
Contributor

winsmith commented May 7, 2023

What's the status of this?

@mrackwitz
Copy link
Contributor Author

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.

@winsmith
Copy link
Contributor

winsmith commented May 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants