• 3 dogs in a trenchcoat
    link
    fedilink
    English
    121 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
      link
      English
      21 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
        link
        fedilink
        English
        61 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
          link
          English
          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.

      • @[email protected]
        link
        fedilink
        English
        31 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.

    • @[email protected]
      link
      fedilink
      English
      11 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.