HomeDocumentationAPI Reference
Getting StartedAPI ReferenceDashboardHelp Center
API Reference

Enable or Disable Crash Reporting

By default, crash reporting is enabled and will send crashes to your dashboard as soon as you integrate the SDK. If you would prefer to disable this feature, you can this API, and pass it a boolean to enable or disable it.

CrashReporting.enabled = false
IBGCrashReporting.enabled = NO;
// Enable
CrashReporting.setState(Feature.State.ENABLED);
// Disable
CrashReporting.setState(Feature.State.DISABLED);
CrashReporting.setEnabled(false);