From bc96263f476681284605a1683afdc07b56281819 Mon Sep 17 00:00:00 2001 From: Marat Al Date: Thu, 29 Jun 2023 18:54:37 +0200 Subject: [PATCH] Temporarily added NSLog for all saved device tokens --- Source/ARTRest.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/ARTRest.m b/Source/ARTRest.m index b2f818e47..0210609e9 100644 --- a/Source/ARTRest.m +++ b/Source/ARTRest.m @@ -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.