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?

    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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.

      • UraniumBlazer@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.