diff --git a/src/ios/PushNotification.m b/src/ios/PushNotification.m index 32427ad3..b658dc8b 100755 --- a/src/ios/PushNotification.m +++ b/src/ios/PushNotification.m @@ -252,16 +252,10 @@ - (void)userNotificationCenter:(UNUserNotificationCenter *)center if (![response.actionIdentifier isEqualToString:UNNotificationDefaultActionIdentifier] && [[PushNotificationManager pushManager].delegate respondsToSelector:@selector(onActionIdentifierReceived:withNotification:)]) { [[PushNotificationManager pushManager].delegate onActionIdentifierReceived:response.actionIdentifier withNotification:[self pushPayloadFromContent:response.notification.request.content]]; } - - [[Pushwoosh sharedInstance] handlePushReceived:[self pushPayloadFromContent:response.notification.request.content]]; } }; if ([self isRemoteNotification:response.notification] && [PWMessage isPushwooshMessage:response.notification.request.content.userInfo]) { - if (![self isContentAvailablePush:response.notification.request.content.userInfo]) { - [[Pushwoosh sharedInstance] handlePushReceived:[self pushPayloadFromContent:response.notification.request.content]]; - } - handlePushAcceptanceBlock(); } else if ([response.notification.request.content.userInfo objectForKey:@"pw_push"]) { handlePushAcceptanceBlock();