Okay, so you created and tested your Meteor app successfully. Now you want your users enjoy the benefits of a pwa (progressive web app), too. Not t...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, I just followed your guide but it did not work. Maybe my chrome does not support service worker? I am working with this: Version 80.0.3987.122 (Official Build) (64-bit) Could help me please? :(
Hi Lizzy, what does the chrome console say?
I added this:
if ("serviceWorker" in navigator) {
in serviceWorker.js file
So it never enters into the conditional
Please try the code as from the tutorial:
does it throw an Error? If so, could you please show me the error stack?
Hm there seems to be no service worker in navigator. Is this a private session or do you block all cookies? I think there were some sw issues at least in Firefox that were related to these.
well, i am using a virtual machine with ubuntu 16.04 but i connect through ssh and a network location and open the application in my window (physical machine)
So, my url is 172.21.19.91:3000/
could it be the problem?
JIC, I helped me
stackoverflow.com/questions/522992...
Now it is working fine! Thanks!
I enjoyed working with Meteor back in 2016. I think this framework was just a bit ahead of its time 😏
Hey Boris, yes their lead developer is constantly on the edge of Js.
Btw, you should check out the roadmap: github.com/meteor/meteor/blob/mast...
Also note that Meteor has been aqquired by Tiny: blog.meteor.com/a-new-chapter-for-...
This guide worked really great for me! 🎉 I now have a desktop & mobile installable app, amazing!! Thanks Jan!
Hello Jan,
Thanks for the article. I followed the steps mentioned above and my app is now PWA compliant. Can you help me on how to implement features like push notifications to make it behave like native app?
I currently did not implement push notifications in my pwas but I am planning a follow up article on specific pwa features that bases on this article. In the meantime you may check out the package registry atmospherejs.com for packages that provide push notifications.
Thanks!
Great icons :D
In the past I used to spend time and engery on design things but I realized that it won't be better with more time spent. Instead I saved the effort for writing. ;-)
yeah, great and informative article nonetheless
Hi, i added force-ssl, still i am getting "Does not redirect HTTP traffic to HTTPS" error when i run lighthouse. Could you help me please ???
I assume you are on localhost? Then this is expected behavior. It will work on your deployment, assuming your certificate is correctly installed.
Awesome, it worked fine on Deploying. Thank you Jan.
BTW, can you write a article for prompting user to install app on iOS.
I got the error: start_url does not respond with a 200 when offlineThe start_url did respond, but not via a service worker.