Skip to content

Commit

Permalink
Commentary added.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Jan 17, 2024
1 parent 79e741b commit e9cab44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ARTLocalDevice.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ + (instancetype)deviceWithStorage:(id<ARTDeviceStorage>)storage logger:(nullable

NSString *clientId = [storage objectForKey:ARTClientIdKey];
if (clientId == nil && identityTokenDetails.clientId != nil) {
clientId = identityTokenDetails.clientId;
clientId = identityTokenDetails.clientId; // pickup some value that exists for the updated installations with already registered device
[storage setObject:clientId forKey:ARTClientIdKey];
}
device.clientId = clientId;
Expand Down

0 comments on commit e9cab44

Please sign in to comment.