Skip to content

Commit

Permalink
fix for push detection related to PUSH-14436
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kaizer committed Aug 1, 2018
1 parent e67de10 commit 984c52a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ + (BOOL)setupWithPushDelegate:(id<UNUserNotificationCenterDelegate>)pushDelegate
}

- (BOOL)isPush:(UNNotification *)notification {
return [notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]] || [notification.request.content.userInfo objectForKey:@"aps"];
return [notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]] || [notification.request.content.userInfo objectForKey:@"aps"] || [notification.request.content.userInfo objectForKey:@"pw_push"];
}

- (BOOL)isPlotNotification:(UNNotification *)notification {
Expand Down

0 comments on commit 984c52a

Please sign in to comment.