this post was submitted on 14 Dec 2023
9 points (80.0% liked)
Lemmy
12609 readers
1 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ideally it would support WebPush which would allow your app to register with any push notification service that supports WebPush.
WebSockets would drain battery and also add a lot of load on the servers to handle all those connections. Implementing specific notification services directly on Lemmy isn't quite where it belongs. Plus you don't want all Lemmy admins to have to register to Apple Push and Google's FCM and potentially others. With WebPush you can have your own server as a relay and then dispatch to expo/APN/FCM as needed.
There's a discussion here https://github.com/LemmyNet/lemmy/issues/2631
@UraniumBlazer@lemm.ee
Other apps are currently just polling for notifications every hour or so, works fine for now
Oh, so does it already do this?
I don't think it supports WebPush at the moment, no. But it would be the technically correct way to implement this. It's an open standard that's not tied to any particular company and ecosystem.
Sorry, I know I should look this up (trust me, I tried but couldn't find an answer), but does Novu use the webpush protocol/standard/whatever it is? I'm interested in Novu as it does seem to be supporting Expo notifications.