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

Disabling/Enabling Crash Reporting

Use CrashReportingKmp.setState to turn crash reporting on or off at runtime in your KMP app. While disabled, native and non-fatal reports are not sent.

Use CrashReportingKmp.setState to turn crash reporting on or off at runtime:

Kotlin
CrashReportingKmp.setState(FeatureState.Enabled)
CrashReportingKmp.setState(FeatureState.Disabled)

When disabled, native crashes and non-fatal reports are not sent. User consent (if you use it) still applies when the feature is enabled.

Last updated