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

Custom URLSession #215

Closed
AlmightyBeaver opened this issue Dec 5, 2024 · 0 comments · Fixed by #216
Closed

Custom URLSession #215

AlmightyBeaver opened this issue Dec 5, 2024 · 0 comments · Fixed by #216
Assignees

Comments

@AlmightyBeaver
Copy link

AlmightyBeaver commented Dec 5, 2024

I had a problem with a Pi-Hole in my network. It was blocking traffic to the TelemetryDeck server. Even after disabling the Pi-Hole I was still blocked. My guess is that the URLSession.shared was caching the response for a while.

At least for testing/debugging purposes, I would suggest adding the optional ability to use a custom URLSession in SwiftSDKs SignalManager provided via TelemetryManagerConfiguration.

let task = URLSession.shared.dataTask(with: urlRequest, completionHandler: completionHandler)

Thank you (also for the great communication via mail)!

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 a pull request may close this issue.

2 participants