Include the response body in the network logs when using Swift Concurrency
This is a known issue related to #482. See comment: https://github.com/Instabug/Instabug-iOS/issues/482#issuecomment-1946063375.
Steps to Reproduce the Problem
- Perform any network request using Swift Concurrency (async/await)
- Trigger a bug report and submit it to Instabug
- Observe how the network request is properly logged (when using Instabug 12.9.0 or newer), but the response body is missing
Expected Behavior
We're able to inspect the response body the server gave us.
Actual Behavior
Only the response header's are logged, the body is missing.
Instabug integration code
SDK Version
12.9.0
iOS Version
iOS 17.4
Device Model
iPhone 15 Pro
@ahmedsalah196 just a ping because this ticket doesn't seem to have been triaged yet!
@xmollv We don't have plans to support this at the current time. Will state this in our public docs soon
@ahmedsalah196 is not going to be supported because there's no way to automatically capture responses? I'm more than happy to decode the response myself and include them on Instabug manually. Is there a possibility to add an API on Instabug's SDK to achieve that?
@xmollv I will check this with our product team and get back to you
When is this going to resolve ??
@ahmedsalah196 @EyadHeikal Could we please reopen this ticket and add the 'Feature Request' label? Ignoring this sends a strong message about Instabug not being able to keep up with the latest technologies on iOS.