GODT-1672: implemented bug report feature.

WIP: EventStream grpcClient call now include 'clientPlaftorm' info.
Fix: removed unnecessary call to useragent.SetPlatform().
This commit is contained in:
Xavier Michelon
2022-07-21 15:22:07 +02:00
committed by Jakub
parent 70511dd0f2
commit 7447d9a55a
14 changed files with 2245 additions and 1436 deletions

View File

@ -95,7 +95,7 @@ service Bridge {
rpc ConfigureUserAppleMail(ConfigureAppleMailRequest) returns (google.protobuf.Empty);
// Server -> Client event stream
rpc StartEventStream(google.protobuf.Empty) returns (stream StreamEvent); // Keep streaming until StopEventStream is called.
rpc StartEventStream(EventStreamRequest) returns (stream StreamEvent); // Keep streaming until StopEventStream is called.
rpc StopEventStream(google.protobuf.Empty) returns (google.protobuf.Empty);
}
@ -104,10 +104,12 @@ service Bridge {
//**********************************************************************************************************************
message ReportBugRequest {
string description = 1;
string address = 2;
string emailClient = 3;
bool includeLogs = 4;
string osType = 1;
string osVersion = 2;
string description = 3;
string address = 4;
string emailClient = 5;
bool includeLogs = 6;
}
@ -178,6 +180,11 @@ message ConfigureAppleMailRequest {
//**********************************************************************************************************************
// Event stream messages
//**********************************************************************************************************************
message EventStreamRequest {
string ClientPlatform = 1;
}
message StreamEvent {
oneof event {
AppEvent app = 1;