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