IssueReporterConfig

data class IssueReporterConfig(val shakeToReportEnabled: Boolean = false)(source)

Host-level configuration for the issue reporter.

The reporter is a library feature shipped into several apps, and shake-to-report is the one part of it that costs something when nobody asked for it: an accelerometer listener registered for as long as an activity is resumed. It is therefore opt-in rather than on by default, and each host decides by passing its own instance into the toolkit's Koin graph.

Constructors

Link copied to clipboard
constructor(shakeToReportEnabled: Boolean = false)

Properties

Link copied to clipboard

Whether shaking the device opens the report sheet. When false the shake manager registers nothing, so no sensor is ever read.