11
11
@implementation EventTracker
12
12
13
13
+(void )logScreen : (NSString *)name {
14
- // [NSString stringWithFormat:@"Screen-%@", name]
14
+ // NSString *screenName = [NSString stringWithFormat:@"Screen-%@", name];
15
15
}
16
16
17
17
+(void )logEventWithName : (NSString *)eventName customAttributes : (NSDictionary *)attributes {
18
18
19
19
}
20
20
21
21
+(void )logEventWithType : (LogEventTypes)eventType {
22
+ /*
22
23
switch (eventType) {
23
24
case LogEventTypeCopyToClipboard:{
24
25
NSString *name = @"Copy to Clipboard";
@@ -159,10 +160,12 @@ +(void)logEventWithType:(LogEventTypes)eventType{
159
160
default:
160
161
break;
161
162
}
163
+ */
162
164
}
163
165
164
166
+(void )logEventSettingWithType : (LogEventSettingTypes)eventType andSettings : (NSDictionary *)currentSetting {
165
- switch (eventType) {
167
+ /*
168
+ switch (eventType) {
166
169
case LogEventSettingTypeUploadIPA:{
167
170
NSString *name = @"Upload IPA";
168
171
}break;
@@ -178,23 +181,28 @@ +(void)logEventSettingWithType:(LogEventSettingTypes)eventType andSettings:(NSDi
178
181
default:
179
182
break;
180
183
}
184
+ */
181
185
}
182
186
183
187
+(void )logExceptionEvent : (NSException *)exception {
188
+ /*
184
189
NSString *name = @"Exception";
185
190
NSDictionary *attributes = @{
186
191
@"debug description":exception.debugDescription,
187
192
@"stack":exception.callStackSymbols
188
193
};
194
+ */
189
195
}
190
196
191
197
+(void )logAppBoxVersion {
198
+ /*
192
199
DBManager *dbManager = [Common currentDBManager];
193
200
NSString *name = @"AppBox Version";
194
201
NSDictionary *attributes = @{
195
202
@"Version": dbManager.version,
196
203
@"Name": dbManager.appName,
197
204
@"Identifier": dbManager.bundleId
198
205
};
206
+ */
199
207
}
200
208
@end
0 commit comments