Skip to content

Commit

Permalink
Temporarily added NSLog for all saved device tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Jun 29, 2023
1 parent 6348bc8 commit bc96263
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/ARTRest.m
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,8 @@ - (void)setAndPersistAPNSDeviceTokenData:(NSData *)deviceTokenData tokenType:(NS
NSString *deviceToken = deviceTokenData.deviceTokenString;
ARTLogInfo(self.logger_onlyForUseInClassMethodsAndTests, @"ARTRest: device token: %@ of type: `%@`", deviceToken, tokenType);

NSLog(@"ARTRest: device token: %@ of type: `%@`", deviceToken, tokenType);

NSString *currentDeviceToken = [self.storage objectForKey:ARTAPNSDeviceTokenKeyOfType(tokenType)];
if ([currentDeviceToken isEqualToString:deviceToken]) {
// Already stored.
Expand Down

0 comments on commit bc96263

Please sign in to comment.