Skip to content

Commit

Permalink
Initialize deviceId properly in _getDeviceId (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisliu committed Nov 25, 2014
1 parent d09f654 commit 2549ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Amplitude.m
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ + (NSString*) initializeDeviceId

+ (NSString*)_getDeviceId
{
NSString *deviceId;
NSString *deviceId = nil;
if (useAdvertisingIdForDeviceId) {
deviceId = _deviceInfo.advertiserID;
}
Expand Down

0 comments on commit 2549ade

Please sign in to comment.