PWA
Integrate NV code to display push notifications.
Integration
To integrate PWA / Web Push, you have to add some files to your root folder. Go to the following link : Service Worker Package to configure and download the package. While downloading the package, you should have the following things :
notifyvisitors_push folder
service-worker.js
Place the files in root folder and upload the files to the top-level root of your site directory. Remember that all URLs should be publicly accessible:
https://yoursite.com/service-worker.js
You need to add the following code in the head section of the website to get the correct icon of PWA in IOS :
<link rel="apple-touch-icon" sizes="180x180" href="icon.png">
You have to insert the hosted image link here.
Updated about 2 years ago