Enable or Disable Auto-Showing

By default, surveys will show automatically within 10 seconds of launching the application provided the user meets the criteria required. This automatic showing of surveys can be disabled and enabled using this API.

Surveys.autoShowingEnabled = false
IBGSurveys.autoShowingEnabled = NO;
Surveys.setAutoShowingEnabled(false);
Surveys.setAutoShowingEnabled(false);
cordova.plugins.surveys.setAutoShowingEnabled(
            true,
            function () {
                console.log('Invoke method called!');
            },
            function (error) {
                console.log('Invocation event could not be set - ' + error);
            }
        );
//iOS
IBGSurveys.AutoShowingEnabled = false;

//Android
Surveys.SetAutoShowingEnabled(false);
Surveys.setAutoShowingEnabled(false);