[alohalytics] Removed duplicated Flurry event logging.
This commit is contained in:
parent
9cafcb5592
commit
e57c748472
1 changed files with 0 additions and 12 deletions
|
@ -3,8 +3,6 @@
|
|||
#include "../../../platform/settings.hpp"
|
||||
#import "Flurry.h"
|
||||
#import "AppInfo.h"
|
||||
// TODO(AlexZ): Remove duplicate logging of Flurry events when we don't need it any more.
|
||||
#import "../../../3party/Alohalytics/src/alohalytics_objc.h"
|
||||
|
||||
@implementation Statistics
|
||||
|
||||
|
@ -13,8 +11,6 @@
|
|||
if (self.enabled)
|
||||
{
|
||||
[Flurry startSession:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"FlurryKey"]];
|
||||
// Commented by AlexZ as I don't see any crashes in Flurry console.
|
||||
//[Flurry setCrashReportingEnabled:YES];
|
||||
[Flurry setSessionReportsOnPauseEnabled:NO];
|
||||
}
|
||||
}
|
||||
|
@ -29,8 +25,6 @@
|
|||
lastUpdate = [NSDate date];
|
||||
CLLocationCoordinate2D const coord = location.coordinate;
|
||||
[Flurry setLatitude:coord.latitude longitude:coord.longitude horizontalAccuracy:location.horizontalAccuracy verticalAccuracy:location.verticalAccuracy];
|
||||
// TODO(AlexZ)
|
||||
[Alohalytics logEvent:@"Flurry:logLocation" atLocation:location];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,18 +32,12 @@
|
|||
- (void)logEvent:(NSString *)eventName withParameters:(NSDictionary *)parameters
|
||||
{
|
||||
if (self.enabled)
|
||||
{
|
||||
[Flurry logEvent:eventName withParameters:parameters];
|
||||
// TODO(AlexZ)
|
||||
[Alohalytics logEvent:[NSString stringWithFormat:@"Flurry:%@", eventName] withDictionary:parameters];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)logEvent:(NSString *)eventName
|
||||
{
|
||||
[self logEvent:eventName withParameters:nil];
|
||||
// TODO(AlexZ)
|
||||
[Alohalytics logEvent:[NSString stringWithFormat:@"Flurry:%@", eventName]];
|
||||
}
|
||||
|
||||
- (void)logInAppMessageEvent:(NSString *)eventName imageType:(NSString *)imageType
|
||||
|
|
Reference in a new issue