Update the service worker and the scripts imported with importScripts

If you change the Javascript code of a service worker, the browser may not  apply the update immediately (as we have already discussed).

In order for the update to take effect you need to:

Continue reading “Update the service worker and the scripts imported with importScripts”

How to enable (or block) push notifications from your browser preferences

Many browsers can deliver push notifications even when a website is closed. Learn how to choose which websites are allowed to send you push notifications.

Continue reading “How to enable (or block) push notifications from your browser preferences”

Pushpad SDK Change: one subscription per browser (instead of multiple subscriptions for each uid)

We have made a change to Pushpad in order to make its use more intuitive.

Now each device (browser) can have at most one uid (user ID) associated to it. Any new uid will replace the previous one.

To reflect this change we have also made changes to the Javascript SDK. In general, you don’t need to take any action because we have tried to make the change as compatible as possible.

However you can read the new SDK documentation.