Comment to PWA Questions
-
Ok when I looked into the OneSignal folder I found these two files and am wondering which I should use:
OneSignalSDKUpdaterWorker.js.php
OneSignalSDKWorker.js.php
I am assuming it would be the second one, since the first is for updating apparently.
-
these are onesignal files not directly related to your PWA.
correct files to edit or create are:
https://yourdomain.com/plugins_public/onesignal/manifest.json.php
also inject to every page:
and for service worker you may create a sw.js file and put it to the root web folder.
-