microsoft / appcenter-sdk-apple

Development repository for the App Center SDK for iOS, macOS and tvOS.
Other
565 stars 224 forks source link

Support for user specified application crash handler #1982

Closed Lnd-stoL closed 4 years ago

Lnd-stoL commented 4 years ago

Is your feature request related to a problem? Please describe. HockeyApp SDK offers BITCrashManagerCallbacks which can be used to specify custom handler for application termination (crash) like this:

BITCrashManagerCallbacks callbacks;
callbacks.handleSignal = &some_handler;
[[BITHockeyManager sharedHockeyManager].crashManager setCrashCallbacks:&callbacks];

Notice, the handler gets called immediately when the application crashes, not on the next launch when the crash log is being sent to server. I have not found something similar in the AppCenter SDK. Such a user specified crash handler is useful for writing some custom crash related info which wont be available upon next app launch (like logs in my case).

Describe the solution you'd like Some way to set custom crash handler in AppCenter SDK.

Describe alternatives you've considered Have not found any alternatives in AppCenter SDK.

MatkovIvan commented 4 years ago

Hi @Lnd-stoL , We already have a feature request for this, closing this as a duplicate.

Duplicate of #1719