IssueReporterRepository

The data layer's entry point for issue reports. Both calls are safe from the main thread.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun captureDeviceInfo(): DeviceInfo

Captures the device details attached to a report and shown in the sheet's device panel.

Link copied to clipboard
abstract suspend fun sendReport(report: Report, target: GithubTarget, token: String? = null): String

Files report as an issue in target, authenticated with token when there is one, and returns the created issue's web URL.