In-app Surveys Callback

Covered here is how to set up the event handler that fires before and after every survey is shown for your Flutter apps.

You can execute code in a handler that gets called before a survey is shown and after it has been dismissed. You can use this for things like pausing and resuming a game, for example.

Before Showing the Survey

Dart
Surveys.setOnShowCallback(Function function);

After the Survey Has Been Dismissed

Dart
Surveys.setOnDismissCallback(Function function);

Last updated