Enable Progressive Web Application (PWA) development
Enable Progressive Web Application (PWA) development in Spire.
Note
This option is available as of 5.1.2309.
Optimizely Configured Commerce has no native Progressive Web Applications (PWA) functionality within the Spire CMS. However, it lets partners and customers create ServiceWorker.js and Manifest.json files in the CMS itself to implement this functionality.
Contact your partner for any questions on PWAs.
Save a PWA icon
You can use the following code to save a PWA icon to the home screen:
{
"name":"PWA Hero Tools",
"short_name":"PWA Hero Tools",
"start_url":"/",
"display":"standalone",
"background_color":"#5900b3",
"theme_color":"black",
"scope": ".",
"description":"Hero Tools (PWA)",
"icons":[
{
"src":"images/icon-192x192.png",
"sizes":"192x192",
"type":"image/png"
},
{
"src":"images/icon-512x512.png",
"sizes":"512x512",
"type":"image/png"
}
]
}
Updated 4 months ago