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

Setup Proactive Reporting

Prompt users for feedback after a frustrating experience in your KMP app, tuning the gap, detection delay, and modal behavior in ProactiveReportingConfig.

Proactive reporting prompts users to send feedback when the SDK detects a frustrating experience. Configure it with ProactiveReportingConfig.

Configuration

Kotlin
val config = ProactiveReportingConfig(
    enabled = true,
    gapBetweenModals = 60,              // seconds between modal prompts (optional)
    modalDelayAfterDetection = 5        // seconds after detection before showing modal (optional)
)
BugReportingKmp.setProactiveReportingConfigurations(config)
  • enabled: Turn proactive reporting on or off.

  • gapBetweenModals: Minimum time (seconds) between two proactive modals. Use null for default.

  • modalDelayAfterDetection: Delay (seconds) after a frustrating experience is detected before showing the modal. Use null for default.

Last updated