Skip to content

Commit

Permalink
Changed default device ID type for tvOS (IDFA to NSUUID)
Browse files Browse the repository at this point in the history
  • Loading branch information
erkanyildiz committed May 12, 2016
1 parent d97074c commit 0224d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CountlyDeviceInfo.m
Expand Up @@ -48,7 +48,7 @@ - (void)initializeDeviceID:(NSString*)deviceID

#elif TARGET_OS_TV
if(!deviceID || [deviceID isEqualToString:@""])
self.deviceID = ASIdentifierManager.sharedManager.advertisingIdentifier.UUIDString;
self.deviceID = NSUUID.UUID.UUIDString;
else
self.deviceID = deviceID;

Expand Down

0 comments on commit 0224d3b

Please sign in to comment.