Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-05-29 23:05:04 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:49:20 +0300
commite57c74847298b5c04e410ebb2bec7f191ffff6db (patch)
treedab0f6878892c135b592e10d2401a79bf3752861 /iphone/Maps/Statistics
parent9cafcb559288822053731ddfa71e7c221189ef94 (diff)
[alohalytics] Removed duplicated Flurry event logging.
Diffstat (limited to 'iphone/Maps/Statistics')
-rw-r--r--iphone/Maps/Statistics/Statistics.mm12
1 files changed, 0 insertions, 12 deletions
diff --git a/iphone/Maps/Statistics/Statistics.mm b/iphone/Maps/Statistics/Statistics.mm
index dbe311ebe1..7a634dde65 100644
--- a/iphone/Maps/Statistics/Statistics.mm
+++ b/iphone/Maps/Statistics/Statistics.mm
@@ -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