diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform_ios.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/platform_ios.mm b/platform/platform_ios.mm index 892b351795..0d50d04d29 100644 --- a/platform/platform_ios.mm +++ b/platform/platform_ios.mm @@ -23,6 +23,8 @@ #import "../iphone/Maps/Classes/Common.h" +#import "3party/Alohalytics/src/alohalytics_objc.h" + #import <Foundation/NSAutoreleasePool.h> #import <Foundation/NSBundle.h> #import <Foundation/NSPathUtilities.h> @@ -131,7 +133,7 @@ static string GetMacAddress() return result; } -string Platform::UniqueClientId() const { return HashUniqueID(GetMacAddress() + GetDeviceUid()); } +string Platform::UniqueClientId() const { return [Alohalytics installationId].UTF8String; } static void PerformImpl(void * obj) { Platform::TFunctor * f = reinterpret_cast<Platform::TFunctor *>(obj); |