Hacker News new | ask | show | jobs
by acbabis 3689 days ago
I just downloaded this and made a 1-liner to try it out. Really cool. Worked just fine in FF. Not sure why it didn't do anything in Chrome on Mac.

> setInterval(function() { Push.create('Hi') }, 2000);

2 comments

I too had this issue. I appears that notifications don't show in full screen mode. When I returned Chrome to a windowed app on my Mac the notifications appeared.
I think I ran into the issue before as well.. however, I think that's an issue with how Chrome handles its notifications. I don't think there's anything in the library that could cause this behavior. A known issue is that the library is currently broken in Safari. I will investigate why when I have some free time.
Usually chrome requires a service worker for notifications and I don't see one in this library. Anybody else get this working with chrome?