Setup Proactive Bug 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.

let configurations = ProactiveReportingConfigurations()
configurations.enabled = true //Enable/disable
configurations.gapBetweenModals = 2 // Time in seconds
configurations.modalDelayAfterDetection = 60 // Time in seconds
BugReporting.setProactiveReportingConfigurations(configurations)

Last updated