Hacker News new | ask | show | jobs
by whatamidoingyo 459 days ago
I was recently tasked with building a PWA to escape the play stores. A vitally important feature was notifications for the messaging system.

Hours of research trying to figure out how to deliver a notification through the PWA, even if the application was closed. Eventually I thought it wasn't going to be possible. But I remembered the HEY products were PWAs, and they had an email product. Surely that has the notification feature I'm trying to replicate? It's a paid service.

... no, I couldn't get their notifications to work, even though I enabled all of the proper settings. Crazy.

However, when I was about to give up and abandon the entire project, I had one of those moments, and got it to work.

1 comments

Did you end up getting notifications working with your PWA? That's something I've worried about
> However, when I was about to give up and abandon the entire project, I had one of those moments, and got it to work.

Yes. So much relief. Although it was a bit more difficult than I thought it would be.

What was the trick?