how can I send a push event for the service worker to listen to?

0

I am working with a web app and push notification, I already have the service worker listening to the push event, but for now only when I enter the devtools and I go to the application to send the push manually, how can I make my server send the push event to be automatic and so the sw can listen and launch the notification, I'm working with firebase.

    
asked by Yhoshua Ochoa 02.03.2018 в 19:11
source

0 answers