> For the complete documentation index, see [llms.txt](https://docs.luciq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luciq.ai/react-native/setup-luciq-for-react-native/setup-bug-reporting/enabling-disabling-bug-reporting.md).

# Enabling/Disabling Bug Reporting

Enable or disable each Luciq reporting option in your React Native app. With only one option left on, it becomes the default and the prompt menu is skipped.

When your users [invoke the SDK](/react-native/setup-luciq-for-react-native/setup-bug-reporting/showing-luciq.md), a popup appears with default [Prompt Options](/react-native/setup-luciq-for-react-native/custom-settings/sdk-customization/prompt-options.md) 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](/react-native/setup-luciq-for-react-native/setup-bug-reporting/showing-luciq.md#showing-specific-modes) and the Prompt Options menu doesn't appear.

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

{% code title="JavaScript" %}

```javascript
BugReporting.setEnabled(false);
```

{% endcode %}

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:

{% code title="JavaScript" overflow="wrap" %}

```javascript
import { ReportType } from '@luciq/react-native';

BugReporting.setReportTypes([ReportType.bug, ReportType.feedback, ReportType.question]);
```

{% endcode %}

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

Updated 8 days ago


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.luciq.ai/react-native/setup-luciq-for-react-native/setup-bug-reporting/enabling-disabling-bug-reporting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
