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
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
nullfor default.modalDelayAfterDetection: Delay (seconds) after a frustrating experience is detected before showing the modal. Use
nullfor default.
Last updated