This module will add a Service Worker & Web Manifest to your SilverStripe Project. You can change the manifestsettings in the site-settings section inside the CMS.
Not working right now - Repo is private
composer require mdiederen/silverstripe-pwa
<meta name="theme-color" content="$SiteConfig.ManifestColor">
<link rel="manifest" href="{$BaseHref}manifest.json">
<script src="{$BaseHref}RegisterServiceWorker.js"></script>
/vendor/mdiederen/silverstripe-pwa/_config
directory for the VAPID authentication used by the push-manager. You can do this on unix (linux / MacOS) using the following commands:$ openssl ecparam -genkey -name prime256v1 -out private_key.pem
$ openssl ec -in private_key.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-' >> public_key.txt
$ openssl ec -in private_key.pem -outform DER|tail -c +8|head -c 32|base64|tr -d '=' |tr '/+' '_-' >> private_key.txt
Windows user can use online tools like Vapid Key Generator
config.yml
inside the vendor/mdiederen/silverstripe-pwa/_config
directory.See License
Michiel Diederen - [email protected]
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem