Enable or Disable Crash Reporting
API reference for enabling or disabling crash reporting in Luciq. Crashes reach your dashboard as soon as the SDK is integrated.
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 = falseLCQCrashReporting.enabled = NO;// Enable
CrashReporting.setState(Feature.State.ENABLED);
// Disable
CrashReporting.setState(Feature.State.DISABLED);// Enable
CrashReporting.setState(Feature.State.ENABLED)
// Disable
CrashReporting.setState(Feature.State.DISABLED)CrashReporting.setEnabled(false);CrashReporting.setEnabled(false);Last updated