For the complete documentation index, see llms.txt. This page is also available as Markdown.

Disabling/Enabling In-App Surveys

Disable every survey in your Android app with one API call. Note that this also blocks manually shown surveys and any other survey related requests.

You can completely disable any surveys from being shown to your app users with the following API. Please note that this also disables manually shown surveys, as this method disables any request related to surveys.

// Enable
Surveys.setState(Feature.State.ENABLED)
// Disable
Surveys.setState(Feature.State.DISABLED)
// Enable
Surveys.setState(Feature.State.ENABLED);
// Disable
Surveys.setState(Feature.State.DISABLED);

Last updated