如何将自定义 iOS Crashlytics 异常记录为致命异常而不是非致命异常?
How can I record a custom iOS Crashlytics exception as fatal rather than non-fatal?
我有一个致命的 iOS 崩溃,出于各种原因我必须使用 recordCustomExceptionName:reason:frameArray:
记录下来。我公司当前的分类流程将致命的 Crashlytics 问题优先于非致命问题,因此我想将其正确标记为致命问题。有什么办法吗?
您可以在 xcode 中对 iOS 使用 fatalerror("This is a fatal error")
,对 android 使用 throw new RuntimeException("Test Crash");
,这将在 Crashlytics 中报告为致命崩溃。
正在 Github here 上对此进行跟踪和进一步解释。目前,该功能不存在。
我有一个致命的 iOS 崩溃,出于各种原因我必须使用 recordCustomExceptionName:reason:frameArray:
记录下来。我公司当前的分类流程将致命的 Crashlytics 问题优先于非致命问题,因此我想将其正确标记为致命问题。有什么办法吗?
您可以在 xcode 中对 iOS 使用 fatalerror("This is a fatal error")
,对 android 使用 throw new RuntimeException("Test Crash");
,这将在 Crashlytics 中报告为致命崩溃。
正在 Github here 上对此进行跟踪和进一步解释。目前,该功能不存在。