Setup Proactive Reporting

This page covers how you can use Proactive Reporting to prompt users to submit feedback reports and how to configure it using APIs.

Enabling Proactive Reporting

By default, Proactive Reporting is disabled. You can use the API below to:

  • Enable/disable the feature.

  • Configure the gap between two pop-ups for the same user.

  • Configure the gap between the app launch and the first pop-up.

The gap calculation starts when our SDK detects a Force Restart or a Crash occurrence, usually a few milliseconds after the launch.

Dart
BugReporting.setProactiveReportingConfigurations(
  const ProactiveReportingConfigs(
    enabled: true,
    gapBetweenModals: 2, // time in seconds
    modalDelayAfterDetection: 2, // time in seconds
  ),
);

Last updated