HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Prompt Options for Xamarin

This section covers how to control the pop-ups as Instabug has a variety that can appear in different situations for Xamarin apps.

By default, when the Instabug SDK is shown, a popup appears to your app users with options for them to report a bug ("Report a bug"), share feedback ("Suggest an improvement"), or ask you a question ("Ask a question"). This popup is called the Prompt Options.

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

696

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

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.

// Disable the Bugs, Feedback, & Questions. If disabled, "Report a problem" "Suggest an improvement" & "Ask a Question" are removed from the Instabug's prompt, and manually showing the bug reporting or feedback doesn't have an effect.
IBGBugReporting.Enabled = true;

// Disable the Replies. If disabled, the chats list button is removed from Instabug's prompt, the in-app notifications are disabled, and manually showing the chats list doesn't have an effect. 
IBGReplies.Enabled = true;
// Disable the Bugs, Feedback, & Questions. If disabled, "Report a problem" "Suggest an improvement" & "Ask a Question" are removed from the Instabug's prompt, and manually showing the bug reporting or feedback doesn't have an effect.
InstabugCore.SetBugReportingState(Feature.State.Disnabled);

// Disable the Replies. If disabled, the chats list button is removed from Instabug's prompt, the in-app notifications are disabled, and manually showing the chats list doesn't have an effect. 
InstabugCore.SetRepliesState(Feature.State.Disabled);

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


What’s Next

The prompt options are now set and ready for action, so let's teach the users how to show it.