For the complete documentation index, see llms.txt. This page is also available as Markdown.

Disabling/Enabling Bug Reporting

Enable or disable the report a bug, suggest an improvement, and ask a question options separately in your Android app, and see what one option changes.

When your users invoke the SDK, a popup appears with default Prompt Options for them to "Report a bug" (submit a bug), "Suggest an improvement" (send you feedback), or "Ask a question" (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.

The below API completely disables all forms of bug, improvement, and question reports.

BugReporting.setState(Feature.State.DISABLED)
BugReporting.setState(Feature.State.DISABLED);

You can also specify whether to show any of the Report a bug, Suggest an improvement, Ask a question options, or all using this API:

BugReporting.setReportTypes(BugReporting.ReportType.BUG, BugReporting.ReportType.FEEDBACK, BugReporting.ReportType.QUESTION)
BugReporting.setReportTypes(BugReporting.ReportType.BUG, BugReporting.ReportType.FEEDBACK, BugReporting.ReportType.QUESTION);

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

Last updated