Disabling/Enabling In-App Surveys for Android
This page details the API for disabling and enabling in-app surveys for your Android apps.
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);
Updated 5 months ago