Not sure why... but my previously functional push notification registration callback is returning a strange device token. Can anyone help make any sense of it? To my knowledge, I haven't changed any code regarding this process.
The following code:
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken
{
NSLog(@"device token: %@", [devToken description]);
}
Returns me this output:
device token: [32]: 8d 21:! 30:0 c3 ec 69:i f4 <--REDACTED--> 24:$ d5 26:& 64:d fb 27:' 79:y fc dc 10 ae 77:w b0 21:! 5b:[
Does anybody recognize this format or have any idea what is going on?
UPDATE Strangely enough, it seems that my device token is actually contained in [devToken description]
if I extract every :
and character following it.... and I'm guessing that [32]:
is just an indicator of the length of the String. I still can't find any reasoning for this though.
Rephrased Question: Did the [NSData description]
output format change?