still happening in beta6
instead, sometimes it will active app in background and run sometimes, but sometime don't active at all. Isn't that was supposed to run everytime receive a silent push notification?
Here is a sample log, we receive this notification and manually click that one, the payload is clearly correct, but app didn't wake up. Stupid iOS11, why the **** change this behavior and nothing related announced in WWDC video.
userNotificationCenter(_:didReceive:withCompletionHandler:):[AnyHashable("posts"): <__NSSingleObjectArrayI 0x1c4614bb0>(
{
"_id" = 2399790817284;
"at_mention_item_ids" = (
);
"at_mention_non_item_ids" = (
999751683
);
"company_id" = 1233543169;
"created_at" = 1502848878686;
"creator_id" = 2454224899;
deactivated = 0;
"function_id" = post;
"group_id" = 8554250242;
"is_new" = 1;
"item_ids" = (
);
items = (
);
"model_size" = 0;
"modified_at" = 1502848878686;
"post_ids" = (
);
text = "<a class='at_mention_compose' rel='{\"id\":999751683}'>@Jacob Jiang</a> jfdls;ajkfl;das";
version = 3609024584508582;
}
)
, AnyHashable("items"): <__NSArray0 0x1c00179d0>(
)
, AnyHashable("unread"): 0, AnyHashable("aps"): {
alert = "Test Jiang4 mentioned you: @Jacob Jiang jfdls;ajkfl;das";
badge = 0;
category = "NEW_GLIP_MSG";
"content-available" = 1;
"mutable-content" = 1;
sound = default;
}, AnyHashable("group_id"): 8554250242]