Skip to main content
All CollectionsCrash ReportingFAQs
How I can disable Crash Reporting?
How I can disable Crash Reporting?

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

Yasmin avatar
Written by Yasmin
Updated over 3 weeks ago

In the event that you need to disable the crash reporting feature, you can use a simple API call to do this.

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

    IBGCrashReporting.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 Instabug menu while using a mobile app, you can click here to learn more about Instabug, what it does, and how to use it.

Did this answer your question?