Answer the question
In order to leave comments, you need to log in
How to send push notifications?
Good time of the day!
There are services like sendpulse.com that allow you to send push messages.
Answer the question
In order to leave comments, you need to log in
It's better to send via PushAll
But if you do it yourself, then dig towards the Push API. https://github.com/chrisdavidmills/push-api-demo
But you need to understand that you can only get it for free on chrome, ff and what is based on them. On Safari, you need to make a certificate through an Apple developer account; for mobile platforms, applications must be written.
Well, the most difficult thing is to maintain up-to-date tokens, update them, monitor the relevance of connected devices.
To put it more clearly, when the site is closed, it is sent through the browser services, then it calls your code in the Service Worker and it already displays a notification.
-----------
I received this question through the IT questionnaire
https://pushall.ru/?fs=927
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question