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.