Closed
Description
Hi
I'm in trouble testing the push event using the JS 9.0.2 (module) => via onBackgroundMessage in a service worker
I m aware that i dont have to send a notification in the payload so i just send data (via postman) :
{
"to": "/topics/public",
"data": {
"body": "Notification in Body",
"title": "Notification in Title",
"url": "http://www.google.fr"
}
}
When i customize my notification using self.registration.showNotification
, i have 2 notification displaying.
This one : (This site has been updated in the background) should not appear
And my custom notification.
I have checked that the payload dont have any "notification" stuff.
I should miss something or maybe a bug ?
Thanks for any help