Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download tar.gz
55.08 KB
MD5: 64c76c5b52b9e794b11a98d49967b751
SHA-1: 38e28a6c9c154ba49dcebb8ac817e78083076458
SHA-256: d240e5614921fb78f8eda44b7b515eb1bb3cdc82442fe1bc8e3031658e6d3201
Download zip
69.67 KB
MD5: 0526fbc2155bcffd33b31d2fdd483f71
SHA-1: 86f92cd3f69263c5712073a7b673ecee4aa1f3e1
SHA-256: 42485a823756fca5e51d4bfdf937d56057c95c09ef141384113b71ecd84c085f
Release notes
Essentially a rewrite of the module, and the creation of the pwa_webpush module.
- Works for anonymous and logged in users by default! (
user 1 never get the serviceworker installed). - Serviceworker uses Google workbox library.
- More configuration options for caching, patterns, strategies for assets, etc.
- Hooks to change the content of the serviceworker, the data as well as the imported scripts, allowing extensibility from other modules.
- Add a new webpush modules that provide an easy way to enable push notifications on the website.
- Update a few things to achieve a perfect score on lighthouse audit
- Update icons to the evergreen logo, update default colors in the manifest to use the official Drupal Brand Palette.
Requirements for the PWA WebPush module
The new PWA WebPush module relies on the excellent minishlink/web-push PHP library. If you use composer_manager, you know how to do. If you don't use composer in your D7 project, you can composer install inside the pwa module folder. If you only use the PWA module this is not necessary.
TODO
- Testing
- Have a local version of the workbox library.