Set up Proactive Reporting

This page covers how to configure proactive bug reporting using APIs.

Enabling Proactive Reporting

By default, the Proactive Reporting is disabled. You can use the below API 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.

ProactiveReportingConfigs configs = new ProactiveReportingConfigs.Builder()
                .setGapBetweenModals(24) // Time in seconds
                .setModalDelayAfterDetection(20) // Time in seconds
                .isEnabled(true) //Enable/disable
                .build();

        BugReporting.setProactiveReportingConfigurations(configs);

Last updated