Closed nchegireddy closed 2 weeks ago
Hi @nchegireddy
Thank you for raising this with us. We are currently working on a patch for this issue. Our current aim is to have a release out early next week. We'll be sure to keep you informed via this thread once the patch is released.
For background, The issue exists for users who call the reportNetworkRequestSpan
API to report their own network spans but who don't set a callback. This crept in during a recent enhancement and unfortunately was a combination that wasn't in our end-to-end tests. You can set a no-op callback to avoid the issue until we get the patch release out.
Hi @nchegireddy
Thank you for raising this with us. We are currently working on a patch for this issue. Our current aim is to have a release out early next week. We'll be sure to keep you informed via this thread once the patch is released.
For background, The issue exists for users who call the
reportNetworkRequestSpan
API to report their own network spans but who don't set a callback. This crept in during a recent enhancement and unfortunately was a combination that wasn't in our end-to-end tests. You can set a no-op callback to avoid the issue until we get the patch release out.
@clr182 Great to know that a fix is already in the works! We landed on the same workaround of setting the no-op callback, as you mentioned. We'll keep an eye out for the patch and get that integrated as soon as it's ready.
I get no crashes on 1.6.1, so closing this issue.
Describe the bug
Bugsnag Performance crashes on initialization.
Edit 1: We were able to fix the crash by setting
networkRequestCallback
in the config to{ _ in return .init() }
which I'm not sure if it's the right approach.Edit 2: We are using the SDK initialization and not the plist initialization.
Environment
1.6.0
6.29.0
iOS
15.4
5.9