Using the WebPush native API.

I’ve used the new WebPush native API. This is a new standard that is adopted by most browser. It use the same principle that every notification system.

How it works ?

This process happen in two phases. First the Subscription when the client start THEN the Push phase.

Step by step subscription phase :

Step by step PUSH phase :