Disabling/Enabling Crash Reporting

This page details the API for disabling and enabling crash reporting for your iOS apps.

Luciq Crash Reporting can be disabled with the following method. This will completely prevent any crash report from being sent to your dashboard. By default, crash reporting is enabled if it is available in your current plan.

CrashReporting.enabled = false

Disabling Crash Reporting

In case you need to disable Crash Reporting, it should be disabled before Luciq is initialized (before startWithToken:)

Disable App Hangs

By default, App Hangs are captured by the SDK and sent to your dashboard. However, you can still disable them using the following API.

CrashReporting.appHangEnabled = false

Disable Force Restarts

By default, Force Restarts are captured by the SDK and sent to your dashboard. However, you can still disable them using the following API.

CrashReporting.forceRestartEnabled = false

Disable OOM Crashes

By default, out-of-memory crashes are captured by the SDK and sent to your dashboard. However, you can still disable them using the following API.

CrashReporting.OOMEnabled = false

Last updated