We have added the PWA to our Ionic application. ngsw-config.json,and manifest.webmanifest fiels and assets folder are created and index.html file is included with manifest.webmanifest reference and service worker is included in app.module.ts file successfully. But when We run audit the the application we are getting no matching service worker detected. You may need to reload the page, or check that the service worker for the current page also controls the start URL from the manifest error.
3 Likes
Did you find a solution please ?
Any solution for this case?
did anyone get solution for above question? Iām also facing same issue with ionic project,
212/5000
Hello I was with the same problem, apparently when doing ionic serve --prod it does not lift from the production / www folder.
I was able to solve by doing:
ionic build --prod
sudo npm install -g http-server
cd www
http-server
1 Like
hello i solved it by simply creating a copy of ngsw-worker.js to service-worker.js
Oh my god, thank you for this comment, it solved my problem too!