Skip to content

tvOS bug report attachments

A bug report from an Apple TV app often needs state that a screenshot cannot show, such as the local database, the playback queue or a cached catalog response. AppeliumFeedback for tvOS lets you attach one application-specific file to every bug report through BugReportingDelegate.

If you wish to upload additional files which will be attached to each bug report, you can do that by setting:

AppeliumFeedback.bugReportingDelegate = self

And then implement BugReportingDelegate:

1
2
3
func bugReportAttachment() -> BugReportAttachment? {
    .init(fileName: "db_dump.sqlite", data: FileManager().contents(atPath: "db/main.sqlite")!),
}

Note

You can upload up to 3 files with each bug report.