Thelounge: Push notifications for mobile

Created on 24 Apr 2017  路  4Comments  路  Source: thelounge/thelounge

Weird that we don't already have a ticket for this, and I've seen people mention it in IRC the past few days, so let's centralise discussion.

This is a good thing for us to do, and the way to do it is to use service workers and the push api. There are other ways of doing push notifications, but they are all 1 horrible and 2 proprietary. This is the open standard. It is currently in WD, but it's likely it'll be standardised sometime this year, hopefully. I would be very against any other system getting into master. Currently supported on Chrome and FF (on both desktop and mobile). Biggest issue is no Safari yet, but iOS safari doesn't even supports Apple's own web push.

Feature

Most helpful comment

See #1124

30-180077859

All 4 comments

I wonder if apple is ever not behind on something >.>

They'll probably 'invent' web push later this year 馃槢

See #1124

30-180077859

As it turns out, using VAPID stuff means admins no longer need a FCM/GCM service or keys. VAPID keys can automatically be generated on the server. This means push notifications will require zero configuration from lounge admins!

馃殺

Was this page helpful?
0 / 5 - 0 ratings