Disabling/Enabling Crash Reporting
This page details the API for disabling and enabling crash reporting.
Crash reporting can be disabled with the following method. 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.
// Enable
CrashReporting.setState(Feature.State.ENABLED);
// Disable
CrashReporting.setState(Feature.State.DISABLED);
// Enable
CrashReporting.setState(Feature.State.ENABLED)
// Disable
CrashReporting.setState(Feature.State.DISABLED)
Updated almost 5 years ago