1 |
efrain |
1 |
/*
|
|
|
2 |
* Copyright 2020 Google LLC
|
|
|
3 |
*
|
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
|
6 |
* You may obtain a copy of the License at
|
|
|
7 |
*
|
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
9 |
*
|
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13 |
* See the License for the specific language governing permissions and
|
|
|
14 |
* limitations under the License.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
#import "Crashlytics/Crashlytics/Models/Record/FIRCLSReportAdapter.h"
|
|
|
18 |
|
|
|
19 |
#import "Crashlytics/Crashlytics/Models/Record/FIRCLSRecordApplication.h"
|
|
|
20 |
#import "Crashlytics/Crashlytics/Models/Record/FIRCLSRecordHost.h"
|
|
|
21 |
#import "Crashlytics/Crashlytics/Models/Record/FIRCLSRecordIdentity.h"
|
|
|
22 |
|
|
|
23 |
pb_bytes_array_t *FIRCLSEncodeString(NSString *string);
|
|
|
24 |
pb_bytes_array_t *FIRCLSEncodeData(NSData *data);
|
|
|
25 |
|
|
|
26 |
@interface FIRCLSReportAdapter ()
|
|
|
27 |
|
|
|
28 |
@property(nonatomic, readonly) BOOL hasCrashed;
|
|
|
29 |
|
|
|
30 |
@property(nonatomic, strong) NSString *folderPath;
|
|
|
31 |
@property(nonatomic, strong) NSString *googleAppID;
|
|
|
32 |
|
|
|
33 |
// From metadata.clsrecord
|
|
|
34 |
@property(nonatomic, strong) FIRCLSRecordIdentity *identity;
|
|
|
35 |
@property(nonatomic, strong) FIRCLSRecordHost *host;
|
|
|
36 |
@property(nonatomic, strong) FIRCLSRecordApplication *application;
|
|
|
37 |
|
|
|
38 |
@property(nonatomic) google_crashlytics_Report report;
|
|
|
39 |
|
|
|
40 |
- (google_crashlytics_Report)protoReport;
|
|
|
41 |
- (NSArray<NSString *> *)clsRecordFilePaths;
|
|
|
42 |
|
|
|
43 |
@end
|