To solve this problem, your serviceworker's code should look like this:
self.addEventListener('push', function(event) {
var payload = JSON.parse(event.data.text());
event.waitUntil(
self.registration.showNotification(payload.title, {
body: payload.body,
data: payload,
icon: payload.icon,
image: payload.image,
requireInteraction: true,
renotify: false,
tag: 'same_tag_for_all_notifications',
})
);
});
You must set renotify to false and use the same tag for all notifications. This is a half-**** solution, because it works only when a user receives two or more notifications. If they receive just one notification and it goes away into Action Center, it won't open.
Tested on gamasexual.com