Network activity not logged when using async methods of URLSession
Closed this issue · 2 comments
honus commented
Steps to Reproduce the Problem
Make network requests using the async methods of URLSession. For example:
let (data, urlResponse) = try await urlSession.data(for: urlRequest)
instead of
session.dataTask(with: request) { data, response, error in
//deal with data, response, error
}
.resume()
Expected Behavior
network request logs will show up in bug reports and in the Network tab
Actual Behavior
They do not show up in either place.
Instabug integration code
Instabug.start(
withToken: Self.isRunningLive() ? Self.productionToken : Self.betaToken,
invocationEvents: [.screenshot]
)
We are a full SwiftUI app so this is called from the init method of our App instance
SDK Version
12.1.0
iOS Version
17.1 (build with minimum target of 16.0)
Device Model
iPhone 15 Pro Max (and also iPad simulator running iOS 16.4)
[Optional] Project That Reproduces the Issue
stale commented
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
stale commented
This issue has been automatically closed due to inactivity.