(defaults: )Īpp Center SDK set the flag automatically in versions 1.10.0 and below. (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport ] For example, there could be a system level crash that you'd want to ignore and that you don't want to send to App Center. Implement the crashes:shouldProcessErrorReport:-method in the class that adopts the CrashesDelegate-protocol if you want to decide if a particular crash needs to be processed or not. You must set the delegate before calling AppCenter.start, since App Center starts processing crashes immediately after the start. Did the app receive a low memory warning in the previous session?Īt any time after starting the SDK, you can check if the app received a memory warning in the previous session: Ĭrashes.hasReceivedMemoryWarningInLastSession Get more information about a previous crashĪpp Center Crashes has two APIs that give you more information in case your app has crashed. This API can only be used in test/beta apps and won't do anything in production apps. Generate a test crashĪpp Center Crashes provides you with an API to generate a test crash for easy testing of the SDK. The usage is the same as in the container application. Crash reporting in extensionsĪpp Center supports crash reporting in macOS extensions. Follow the Migrate to App Center SDK 4.0.0 and higher section to migrate App Center from previous versions. In the 4.0.0 version of App Center breaking changes were introduced.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |