Skip to content

Commit

Permalink
Fixed internal logging for device id retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
erkanyildiz committed Jun 30, 2016
1 parent 0f527dc commit b681dc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CountlyPersistency.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ - (NSString* )retrieveStoredDeviceID

[NSUserDefaults.standardUserDefaults setObject:retrievedDeviceID forKey:kCountlyStoredDeviceIDKey];
[NSUserDefaults.standardUserDefaults synchronize];

return retrievedDeviceID;
}
}

COUNTLY_LOG(@"Can not retrieve Device ID");

return retrievedDeviceID;
return nil;
}

- (void)storeDeviceID:(NSString *)deviceID
Expand Down

0 comments on commit b681dc4

Please sign in to comment.