Extended Bug Report Mode

This method can be used to show additional details in your bug reports. You can find more details on what it does here:

There is a single argument for this method that determines if the mode is enabled or not. The possible options are:

  • Disable extended bug report mode
  • Enable extended bug report mode and set fields to required
  • Enable extended bug report mode and set fields to optional
Method

BugReporting.extendedBugReportMode = .enabledWithRequiredFields
IBGBugReporting.extendedBugReportMode = IBGExtendedBugReportModeEnabledWithRequiredFields;
BugReporting.setExtendedBugReportState(ExtendedBugReport.State.ENABLED_WITH_REQUIRED_FIELDS);
BugReporting.setExtendedBugReportMode(BugReporting.extendedBugReportMode.enabledWithRequiredFields;);
cordova.plugins.instabug.setExtendedBugReportMode(
            "enabledWithRequiredFields",
            function () {
                console.log('Changed mode of visual user steps successfully!');
            },
            function (error) {
                console.log('Problem occurred - ' + error);
            }
        );
IBGBugReporting.ExtendedBugReportMode = IBGExtendedBugReportMode.EnabledWithOptionalFields;
BugReporting.setExtendedBugReportMode(ExtendedBugReportMode.enabledWithRequiredFields;);
Report Mode Options Parameters:

//Disabled
.disabled
//Enabled and Required
.enabledWithRequiredFields
//Enabled and Optional
.enabledWithOptionalFields
//Disabled
IBGExtendedBugReportModeDisabled
//Enabled and Required
IBGExtendedBugReportModeEnabledWithRequiredFields
//Enabled and Optional
IBGExtendedBugReportModeEnabledWithOptionalFields
//Disabled
ExtendedBugReport.State.DISABLED
//Enabled and Required
ExtendedBugReport.State.ENABLED_WITH_REQUIRED_FIELDS
//Enabled and Optional
ExtendedBugReport.State.ENABLED_WITH_OPTIONAL_FIELDS
//Disabled
BugReporting.extendedBugReportMode.disabled
//Enabled and Required
BugReporting.extendedBugReportMode.enabledWithRequiredFields;
//Enabled and Optional
BugReporting.extendedBugReportMode.enabledWithOptionalFields
//Disabled
cordova.plugins.bugReporting.extendedBugReportMode.disabled
//Enabled and Required
cordova.plugins.bugReporting.extendedBugReportMode.enabledWithRequiredFields
//Enabled and Optional
cordova.plugins.bugReporting.extendedBugReportMode.enabledWithOptionalFields
//Disabled
IBGExtendedBugReportMode.Disabled
//Enabled and Required
IBGExtendedBugReportMode.EnabledWithRequiredFields
//Enabled and Optional
IBGExtendedBugReportMode.EnabledWithOptionalFields
//Disabled
ExtendedBugReportMode.disabled
//Enabled and Required
ExtendedBugReportMode.enabledWithRequiredFields;
//Enabled and Optional
ExtendedBugReportMode.enabledWithOptionalFields