HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
These docs are for v8.2. Click to read the latest docs for v12.0.0.

Disabling/Enabling Bug Reporting

This section covers how to disable and enable bug reporting.

When your users invoke the SDK, a popup appears with default Prompt Options for them to "Report a problem" (submit a bug, "Suggest an improvement" (send you feedback), or "Talk to us" (send you a chat).

These options can be disabled or enabled separately. When only a single option is enabled, it becomes the default invocation mode and the Prompt Options menu doesn't appear.

If you would like to disable the invocation altogether, you can find details on how to do so here.

// Disable the Bugs & Feedback. If disabled, both "Report a problem" & "Suggest an improvement" are removed from the Instabug's prompt, and manually showing the bug reporting or feedback doesn't have an effect.
cordova.plugins.bugReporting.setEnabled(boolean, successCb, errorCb)

You can also specify whether to show one of the Report a Problem or Suggest an Improvement options, or both using this API:

cordova.plugins.bugReporting.setReportTypes([cordova.plugins.bugReporting.reportType.bug, cordova.plugins.bugReporting.reportType.feedback], successCb, errorCb)

By default, all three options are enabled if they are available in your current plan.