Hi guys, out of curiosity when you used reddit sync did you use the notifications feature?

If so did you use push notifications from the official reddit app or polled notifications (ie sync checkes every 60min, 2hrs, etc)?

Lastly hypothetically if sync for lemmy had notifications features similar to sync for reddit would you use star/continue to use instant push notifications/polling based push notifications?

Curious on your thoughts.

  • SuddenTrash@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Not the biggest deal-breaker, so polled is good enough for me since it is a low priority channel for me anyways.

    • Deemo@lemmy.fmhy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I kinda wonder if sync for lemmy can use a sort of hybrid aproach. For instance when sync for lemmy is in the forground it uses websockets with the lemmy instance to get push notifications. However once the app is exited (or after a predetermined perioed of time) sync could revert back to polled notifications. This is kinda similar to how lemmy web sends push notificaitons when opened as a tab but doesn’t when closed.

      • SuddenTrash@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        That actually sounds like a good implementation. What are technical aspects of using websockets in the background? Or is it just due to battery?

        • Deemo@lemmy.fmhy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Mainly battery limitations (could prevent doze and/or cause a wake lock) and possible increase in server load for instances (your device would have to maintained a persistent connection to lemmy instance).

      • Trapping5341@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I feel like that’s basically how sync was working for me. I can’t remember my exact notification settings but probably used polling. But if I was using the app and would open a thread or refresh or something I would get a notification that I had received a message. Other than that I generally just used the emails reddit would send me about a comment reply or something. They annoyed me for the most part but I never took the time to turn them off. 😂