HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Repro Steps

Much like user steps, repro steps are also collected by default. They show the user steps, which are the steps the user has taken until the report was sent in compiled by view.

user repro collection can be disabled using this method.

Method

Instabug.reproStepsMode = .disable
Instabug.reproStepsMode = IBGUserStepsModeDisable;
//Method 1
new Instabug.Builder(this, “APP_TOKEN”)
	.setInvocationEvents(InstabugInvocationEvent.SHAKE)
  .setReproStepsState(State.DISABLED)
	.build(); 

//Method 2
Instabug.setReproStepsState(State.DISABLED);
Instabug.setReproStepsMode(Instabug.reproStepsMode.enabled);
// Supported in iOS only
cordova.plugins.instabug.setReproStepsMode(
  'enabled',
  function () {
    console.log('Changed mode of visual user steps successfully!');
  },
  function (error) {
    console.log('Problem occurred - ' + error);
  }
);
//iOS
Instabug.ReproStepsMode = IBGUserStepsMode.Enabled;

//Android 
new Instabug.Builder(this, "ANDROID_APP_TOKEN")
            .SetInvocationEvent(InstabugInvocationEvent.Shake)
            .SetReproStepsState(State.Enabled)
						.Build();
Repro Steps Parameters:

//Enable
.enable
//Enable without Screenshots
.enabledWithNoScreenshots
//Disable
.disable
//Enable
IBGUserStepsModeEnable
//Enable without Screenshots
IBGUserStepsModeEnabledWithNoScreenshots
//Disable
IBGUserStepsModeDisable
//Enabled
State.ENABLED;
//Enable without Screenshots
State.ENABLEDWITHNOSCREENSHOTS
//Disabled
State.DISABLED;
Instabug.reproStepsMode.enabled
Instabug.reproStepsMode.disabled
//iOS
IBGUserStepsMode.Enabled
IBGUserStepsMode.Disabled
  
//Android
State.Enabled
State.Disabled