Welcome to Instabug's Documentation! Here you'll find
a comprehensive technical guide to help you start
working with the Instabug SDK as quickly as possible.

Get Started

Prompt Options

This section covers how to control the popup menu that appears when your app users invoke Instabug.

By default, when your app users invoke Instabug, a popup appears that asks them "How can we help you?" with menu options to report a bug, share feedback, or send you a message, depending on the products enabled in your plan. This popup is called Prompt Options.

All Instabug popups follow the color theme and primary color that you set for the SDK.

An example of the Prompt Options menu that appears to app users after Instabug is invoked.

An example of the Prompt Options menu that appears to app users after Instabug is invoked.

By default, all of your enabled products are listed in the Prompt Options menu. You can control which options appear by disabling and enabling any of the products. Each one can be enabled or disabled separately.

BugReporting.promptOptions = [.bug, .feedback]
IBGBugReporting.promptOptions = IBGPromptOptionBug | IBGPromptOptionFeedback;

When only a single option is enabled, it becomes the default invocation mode. If all options are disabled, bug reporting becomes the default invocation mode and the Prompt Options menu won't appear to your users. Instead, they will be shown the bug reporting form.

The possible Prompt Options are:

.bug
.feedback
.chat
IBGPromptOptionBug
IBGPromptOptionFeedback
IBGPromptOptionChat

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


What's Next

Your Prompt Options are now set and ready for action, so let's teach your users how to access this menu.

Welcome Message