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

Disabling/Enabling In-App Chat

This page details the API for disabling and enabling in-app chats from the Prompt Options invocation mode.

By default, In-App Chat is enabled if it is available in your current plan.

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

Bug reporting, feedback, and chats can be enabled or disabled separately. When only a single option is enabled, it becomes the default invocation mode and the Prompt Options menu doesn't appear. If all options are disabled, bug reporting becomes the default invocation mode and users are shown the bug report form directly.

//Remove or add cordova.plugins.bugReporting.invocationModes.chat to enable or disable
            [cordova.plugins.bugReporting.invocationModes.chat, cordova.plugins.bugReporting.invocationModes.bug],
            function () {
                console.log('Prompt options set successfully');
            function (error) {
                console.log('Prompt options set unsuccessful  ' + error);