• 3 dogs in a trenchcoat@slrpnk.net
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    1 month ago

    I think lemmy doesn’t currently support push notifications so the app would have to stay awake in the background to check for them

    • Ghostalmedia@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      You don’t need to have the app running in the background. Notifications can be pushed from the cloud.

      Problem is, that costs money to host and run that job to check for notifications. This is why a lot of small developers end up burying notifications behind a paywall.

      • 3 dogs in a trenchcoat@slrpnk.net
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 month ago

        I mean yeah, but hosting and running a voyager server that stores our login credentials would be a more complicated and difficult option for what gain? The simplest solution would probably be just waking up the app every so often to check, I think eternity does that

        • Ghostalmedia@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 month ago

          Speaking for iOS, I don’t believe this is possible. iOS has rules around what background processes can and can’t run on-device.

          For notifications coming from the internet, in order to preserve battery life, Apple wants cloud APNs to wake up terminated apps to deliver notifications.

          I know android does some similar battery preservation stuff around notifications, but I’m a little less familiar with that.

      • ClassifiedPancake@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        So then „bury“ it behind a paywall, why is that bad? A server costs money so let the people who want to use that server pay their part. I see no problem with that.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      It’s neat how the receipt and storage of push 'notes could easily leverage the short-message idea in the original sendmail spec.