alxhub / io17

106 stars 21 forks source link

App runs but when http-server is down service-worker not kicking-in. #13

Open MatteoNY opened 7 years ago

MatteoNY commented 7 years ago

Not sure if this is an issue. I ran thru the video from Google I/O and got the example that runs with the application (checkbox) offline to load from the service worker. The network results shows (from serviceWorker) like the video. When I terminate the web server (live-server) and refresh I'm getting: "This site can’t be reached". In addition, it would be great if there was a reference to to test the push as that did not work. I'm not sure if I need to enable this on Firebase to enable. I reference to Firebase to enable push would be great. I tried to use the push enumerated from Chrome and that did nothing. I did generate a push generated code. Thanks!