User Steps

By default, user steps are collected by the SDK. These are all the steps the user has done up to the latest report. This feature can be disabled using this API

Instabug.trackUserSteps = false
Instabug.trackUserSteps = NO;
//Availble on iOS only
Instabug.setUserStepsEnabled(true);
//iOS
//Can be done through the activate method
cordova.plugins.instabug.activate(
    {
        ios: 'MY_IOS_TOKEN'
    },
    cordova.plugins.bugReporting.invocationEvents.shake,
    {
        enableTrackingUserSteps: true
    },
    function () {
        console.log('Instabug initialized.');
    },
    function (error) {
        console.log('Instabug could not be initialized - ' + error);
    }
);

//Android 
//Builder method generated in MyApplication class
new Instabug.Builder(this, "APP_TOKEN")
	.setInvocationEvent(InstabugInvocationEvent.SHAKE)
  .setTrackingUserStepsState(Feature.State.DISABLED)
	.build();
//iOS
Instabug.TrackUserSteps = true;

//Android
new Instabug.Builder(this, "ANDROID_APP_TOKEN")
            .SetInvocationEvent(InstabugInvocationEvent.Shake)
            .SetTrackingUserStepsState(Feature.State.Disabled)
						.Build();