mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Rageshake Service (#70)
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user