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

Set up Proactive Reporting

Ask Android users about a problem after Luciq detects a force restart or crash. Configure the gaps between prompts and after app launch with one API.

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.

val configurations = ProactiveReportingConfigs.Builder() 
                      .isEnabled(true) //Enable/disable
                      .setGapBetweenModals(24) // Time in seconds
                      .setModalDelayAfterDetection(30) // Time in seconds
                      .build() 
BugReporting.setProactiveReportingConfigurations(configurations)
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