update PushKit token in main queue

This commit is contained in:
REIS Benjamin 2016-09-13 17:19:38 +02:00
parent 1b712c7d6a
commit f84fb0bc0f

View file

@ -465,7 +465,7 @@ didInvalidatePushTokenForType:(NSString *)type {
LOGI(@"PushKit received with payload : %@", payload.description);
LOGI(@"incoming voip notfication: %@ ", payload.dictionaryPayload);
//dispatch_async(dispatch_get_main_queue(), ^{[self processRemoteNotification:payload.dictionaryPayload];});
dispatch_async(dispatch_get_main_queue(), ^{[self processRemoteNotification:payload.dictionaryPayload];});
}
- (void)pushRegistry:(PKPushRegistry *)registry