Closed obj63mc closed 4 years ago
This issue as been imported as question since it does not respect pwa-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload. If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically. Your question is available at https://cmty.app/nuxt/pwa-module/issues/c62.
When looking at this, seems it was resolved with an SDK update in July - https://github.com/OneSignal/OneSignal-Website-SDK/issues/380
Also looks like the latest versions of OneSignal want you to create a seperate app for testing localhost directly so that can be ignored.
@obj63mc with 3.0.0
onesignal will use CDN by default. Also, local version updated. Thanks for the report.
Currently in the latest version of safari, nuxt and this pwa module, when I am using Workbox and Onesignal, I am getting the following error when running the site in production mode with - nuxt build && nuxt start
My setup for the PWA Module with OneSignal and Webpack is the following -
Any idea how to resolve this error? If I set OneSignal to use their CDN SDK I don't get an error but then I am unable to test on localhost and it doesn't use my init configs.
Example of that config is -