Rageshake Service (#70)

This commit is contained in:
ismailgulek
2022-06-06 12:38:07 +03:00
committed by GitHub
parent 1e7243fcf9
commit fa0721b160
57 changed files with 3010 additions and 32 deletions
@@ -0,0 +1,27 @@
//
// BugReportServiceProtocol.swift
// ElementX
//
// Created by Ismail on 16.05.2022.
// Copyright © 2022 element.io. All rights reserved.
//
import Foundation
import UIKit
struct SubmitBugReportResponse: Decodable {
var reportUrl: String
}
protocol BugReportServiceProtocol {
var crashedLastRun: Bool { get }
func crash()
func submitBugReport(text: String,
includeLogs: Bool,
includeCrashLog: Bool,
githubLabels: [String],
files: [URL]) async throws -> SubmitBugReportResponse
}