bugsnag-cocoa icon indicating copy to clipboard operation
bugsnag-cocoa copied to clipboard

Improve support for Kotlin Native

Open rickclephas opened this issue 3 years ago • 1 comments

Description

I have been playing with Bugsnag in a Kotlin Multiplatform iOS app.

So far it's working really well. I am just missing a single public API:

@interface BugsnagStackframe ()

+ (NSArray<BugsnagStackframe *> *)stackframesWithCallStackReturnAddresses:(NSArray<NSNumber *> *)callStackReturnAddresses;

@end

Once that API is public we can easily convert a Kotlin Throwable to a BugsnagError.

Describe the solution you'd like

For the stackframesWithCallStackReturnAddresses method to become part of the public API.

Describe alternatives you've considered

I am currently using the private API 🤪

rickclephas avatar Jul 20 '22 17:07 rickclephas

Hi @rickclephas - thanks for raising this and glad to hear Bugsnag is working well in your Kotlin Multiplatform app! We're going to look at making your suggested change and will let you know when there are any updates 👍

luke-belton avatar Jul 21 '22 12:07 luke-belton

Hi @rickclephas , This has been released in v6.22.0.
Thanks again for the suggestion.

johnkiely1 avatar Aug 11 '22 08:08 johnkiely1