-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manifest "add to home-screen" not loading #182
Comments
Same issue here. Does anyone know if Firebase needs to have a proper configuration to work with SW? |
Same issue here. |
Same here.
|
My score is 100% in production, however there isn't a prompt to install. This prompt is suggested by the browser based on an heuristic. I don't know if that is the problem because I've tested on another person phone and it still doesn't show up. |
Im here with 91% score in productin in audits. But really. Why doesn't the pop-up appear and how i will do ti? This is a crictical point. |
Maybe this will help you. |
U can trigger the prompt
Not sure from where i get this but if it may be usefull |
So, where do i put this code? |
I'm getting the same error as @africlouds on both dev and prod environments. While manually triggering the prompt seems like an appropriate workaround, it worries me that Chrome/Lighthouse doesn't recognize my app as a PWA. It makes me think that this might just be a symptom of a larger problem. With that said, it appears that we'll need some boilerplate code which triggers the prompt anyway. Chrome 68 will no longer trigger the prompt automatically. https://developers.google.com/web/fundamentals/app-install-banners/ |
shouldn't this 'manual trigger' be included in the core code of pwa? Because i think all developers would like this. |
Same problem, I can't get the prompt to appear. |
this should either be built-in or a vue-pwa-install-prompt project should be created to shed light on this mystery!! we all need this! btw auditing with lighthouse also said that my app doesn't register a service worker.. which sounds like blasphemy to me! |
I ran into this issue as well, but realized it's because I edited out this line below from the index.html file: This line activates the service worker. |
I'm also trying to figure this out - out of the box service work registers and shows in chrome (both in sources and ://inspect/#service-workers) - I get an error in lighthouse that no usuable web app manifest was found (but it is served.) The error shows that url as /#/ - I wonder if this a problem with vue routing, I remember seeing somewhere in a tutorial how to hide /#/ from the URL. |
I think changing the router mode to 'history' has solved the issue for me, lighthouse passes and workbox events show up in console! Edit: I think the real problem is Azure App Service by default doesn't serve .json files, adding MIME type fixes. |
After creating a vue init pwa and deploying, no 'add to home-screen' is shown on load.
Steps to reproduce:
vue init pwa
firebase init
(configure to a test project)
firebase deploy
enter the url displayed
The text was updated successfully, but these errors were encountered: