this post was submitted on 14 Dec 2023
11 points (92.3% liked)

Lemmy

12544 readers
136 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
 

So I’m developing a mobile client using React Native, where I’m utilizing Lemmy’s messaging functionality as well. This makes it extremely crucial to have notification support (including push notifications).

How are you guys dealing with this problem? This is what I think an elegant solution could look like. We would need to achieve two things:

  1. Bring back websockets only for notifications by directly changing lemmy server side code.
  2. Find where the email notification code is at, and simply implement expo notifications there.

Whaddya think?

you are viewing a single comment's thread
view the rest of the comments
[–] Die4Ever@programming.dev 4 points 11 months ago* (last edited 11 months ago)

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