#1033 - Fix automatic overwriting of anonId value

This commit is contained in:
Brad Leege
2015-03-24 10:33:35 -05:00
parent d1a95e21a7
commit 2da729dca0

View File

@@ -40,6 +40,8 @@ NSNumber *scale;
- (id) init {
self = [super init];
if (self) {
// Configure Events Infrastructure
_queue = [[NSMutableArray alloc] init];
_flushAt = 20;
_flushAfter = 10000;
@@ -64,9 +66,6 @@ NSNumber *scale;
_anonid = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
}
// Get Vendor ID
anonId = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
model = [self getSysInfoByName:"hw.machine"];
iOSVersion = [NSString stringWithFormat:@"%@ %@", [UIDevice currentDevice].systemName, [UIDevice currentDevice].systemVersion];
if ([UIScreen instancesRespondToSelector:@selector(nativeScale)]) {