bugsnag / bugsnag-cocoa

BugSnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS
https://docs.bugsnag.com/platforms/ios
MIT License
234 stars 129 forks source link

Allow JS stack traces for iOS projects #1688

Open gtchance opened 1 month ago

gtchance commented 1 month ago

Description

We have an iOS project that makes use of shared JS code. We used to have a sort of hack for JS stack traces before attachCustomStacktrace was removed a few years ago.

attachCustomStacktrace(stackTrace, withType: "nodejs")

Is there another way to achieve JS stack traces for an iOS project without forking bugsnag-cocoa and exposing attachCustomStacktrace again?

hannah-smartbear commented 3 weeks ago

Hi @gtchance,

Just to clarify your question and understand what you are looking for, are you looking to report JS exceptions to your iOS project in BugSnag? If not, what sort of errors are you looking to attach the JS stacktrace to?

Can you let us know a little bit more about how your iOS project uses/integrates the shared JS code?

Please feel free to write in to us at support@bugsnag.com if you do not want to share these details about your project publicly.

gtchance commented 2 weeks ago

Thanks @hannah-smartbear! I will email support with more details.