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.