what causes a bad token on iPhone- NSLog(@"token:%@",[devToken description]); crashes
- by Grant M
I am getting a bad token passed to me in
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken
this code crashes on my iPhone but not my clients.
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {
NSLog(@"token:%@",[devToken description]);
}
I think something is wrong with my stored notifications settings on my iPhone but I can't find a way to delete them. deleting the app does not seem to do it.