Skip to content

Quickstart

Every path below ends with a real, labelled GitHub issue in your repo. Pick your platform.

  1. Add the package (see Installation), importing AppFeedbackCore (and AppFeedbackUI for the drop-in sheet).

  2. Build a client once at app start:

    import AppFeedbackCore
    let feedback = FeedbackClient(
    appName: "Acme",
    transport: GitHubDirectTransport(owner: "acme", repo: "feedback", token: token)
    )
  3. Submit a report:

    let issueNumber = try await feedback.submit(
    FeedbackReport(type: .bug, title: "Crash on launch", description: "Steps to reproduce…")
    )
  4. Or present the drop-in SwiftUI sheet:

    import AppFeedbackUI
    .sheet(isPresented: $showFeedback) {
    FeedbackSheet(client: feedback, theme: .default)
    }

A labelled issue (bug/feature-request + user-submitted) whose body carries the description, a device-info block, optional contact email, and any attachments — in one byte-exact format across every platform.