Description

A set of assets that are used by subscribers to interact with a system.

These assets include:

  • service worker file to render push notifications and send callbacks to the system (read, click, close)
  • init.min.js file to initialize service worker and subscribe to push notifications

init.min.js

Other than subscribing to push notifications, init.min.js is responsible for:

  • subscription window rendering
  • subscription window delay
  • send user action events to the system

Release

In order to push static files changes to S3, the next command is being used (on any of manager instance):

python manage.py collectstatic --no-input

URLs

https://static.production.push-sender.com/mng/channels/sw.min.js https://static.production.push-sender.com/mng/channels/init.min.js