Skip to main content

How can I disable Crash Reporting?

It's really simple. We have an API to help you do just that.

Gasser avatar
Written by Gasser
Updated this week

If you need to disable the crash reporting feature, you can use a simple API call to do so.

Note that 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.

For iOS:

  • Swift

    CrashReporting.enabled = false
  • Objective-C

    LCQCrashReporting.enabled = NO;

Or Android:

  • Kotlin

    CrashReporting.setState(Feature.State.DISABLED)
  • Java

    CrashReporting.setState(Feature.State.DISABLED);

For more platform instructions, see the documentation below:

If you are here because you’ve encountered the Luciq menu while using a mobile app, you can click here to learn more about Luciq, what it does, and how to use it.

Did this answer your question?