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.setExtendedBugReportState(ExtendedBugReport.State.ENABLED_WITH_REQUIRED_FIELDS)
import { ExtendedBugReportMode } from 'instabug-reactnative';

BugReporting.setExtendedBugReportMode(ExtendedBugReportMode.enabledWithRequiredFields;);
BugReporting.setExtendedBugReportMode(ExtendedBugReportMode.enabledWithRequiredFields;);
BugReporting.setExtendedBugReportMode(
     BugReporting.extendedBugReportMode.enabledWithRequiredFields
);
IBGBugReporting.ExtendedBugReportMode = IBGExtendedBugReportMode.EnabledWithOptionalFields;
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
ExtendedBugReportMode.disabled
//Enabled and Required
ExtendedBugReportMode.enabledWithRequiredFields;
//Enabled and Optional
ExtendedBugReportMode.enabledWithOptionalFields
//Disabled
ExtendedBugReportMode.disabled
//Enabled and Required
ExtendedBugReportMode.enabledWithRequiredFields;
//Enabled and Optional
ExtendedBugReportMode.enabledWithOptionalFields
//Disabled
BugReporting.extendedBugReportMode.disabled
//Enabled and Required
BugReporting.extendedBugReportMode.enabledWithRequiredFields
//Enabled and Optional
BugReporting.extendedBugReportMode.enabledWithOptionalFields
//Disabled
IBGExtendedBugReportMode.Disabled
//Enabled and Required
IBGExtendedBugReportMode.EnabledWithRequiredFields
//Enabled and Optional
IBGExtendedBugReportMode.EnabledWithOptionalFields