• Ghostalmedia@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days 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
      ·
      5 days 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
        5 days 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
      ·
      5 days 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.