Enable or Disable Surveys

If you would like to disable the surveys from showing in general, including manual targeting surveys, you can do so using this API.

❗️

Disabling Surveys

This API completely disables surveys, meaning surveys will not be shown regardless of the code called.

Surveys.enabled = false;
[IBGSurveys setEnabled:NO];
// Enable
Surveys.setState(Feature.State.ENABLED);
// Disable
Surveys.setState(Feature.State.DISABLED);
// Enable
Surveys.setState(Feature.State.ENABLED)
// Disable
Surveys.setState(Feature.State.DISABLED)
Surveys.setEnabled(false);
Surveys.setEnabled(false);
Surveys.setEnabled(false);
//iOS
Surveys.Enabled = false;

//Android
Surveys.setState(Feature.State.DISABLED);