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);
//Method 1
Instabug.Builder(this, “APP_TOKEN”)
.setInvocationEvents(InstabugInvocationEvent.SHAKE)
.setReproStepsState(State.DISABLED)
.build();
//Method 2
Instabug.setReproStepsState(State.DISABLED)
import Instabug, { ReproStepsMode } from 'instabug-reactnative';
Instabug.setReproStepsMode(ReproStepsMode.enabled);
Instabug.setReproStepsMode('disabled');
//iOS
Instabug.ReproStepsMode = IBGUserStepsMode.Disabled;
//Android
new Instabug.Builder(this, "ANDROID_APP_TOKEN")
.SetInvocationEvent(InstabugInvocationEvent.Shake)
.SetReproStepsState(State.Disabled)
.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.ENABLED_WITH_NO_SCREENSHOTS
//Disabled
State.DISABLED;
//Enabled
ReproStepsMode.enabled
//Enabled without Screenshots
ReproStepsMode.enabledWithNoScreenshots
//Disabled
ReproStepsMode.disabled
//Enabled
'enabled'
//Disabled
'disabled'
//iOS
IBGUserStepsMode.Enabled
IBGUserStepsMode.EnabledWithNoScreenshots
IBGUserStepsMode.Disabled
//Android
State.Enabled
State.EnabledWithNoScreenshots
State.Disabled