In https://github.com/Minishlink/web-push-php-example/blob/master/src/app.js#L153 endpoint is updated if subscription exists. Problem here is how to get the original subscription. Do you have an idea how to solve this, maybe via localStorage?
In https://github.com/Minishlink/web-push-php-example/blob/master/src/app.js#L153 endpoint is updated if subscription exists. Problem here is how to get the original subscription. Do you have an idea how to solve this, maybe via localStorage?