IssueReporterLauncher

Opens the report sheet for a caller that has an Activity but no composition.

The shake gesture is detected by an application-scoped sensor listener, which cannot compose anything. This mounts a ComposeView on the activity's content view and puts the same IssueReporterBottomSheet in it, so the gesture and a host that composes the sheet itself show the identical sheet rather than the feature carrying two presentations.

A host that is already composing should call IssueReporterBottomSheet directly. This exists for callers that cannot.

Functions

Link copied to clipboard
fun show(activity: Activity): Boolean

Shows the reporter over activity.