HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
These docs are for v8.1. Click to read the latest docs for v12.0.0.

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
//Disable
.disable
//Enable
IBGUserStepsModeEnable
//Disable
IBGUserStepsModeDisable
State.ENABLED;
State.DISABLED;
Instabug.reproStepsMode.enabled
Instabug.reproStepsMode.disabled
// Supported in iOS only
'enabled'
'disabled'
//iOS
IBGUserStepsMode.Enabled
IBGUserStepsMode.Disabled
  
//Android
State.Enabled
State.Disabled