I currently have a server running in cloud that can send custom notification through self-hosted gotify server.

The down side is battery drain, it eats more than 15% of battery per day and it’s unsustainable, I have to turn on battery optimization.

I know google offers GCM and FCM which instant messaging APPs uses, but I couldn’t find a software that is as easily configurable and have a ready to use Android client (that preferably connects to GCM and FCM so no battery drain problem), any recommendation?

    • axzxc1236@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 months ago

      I never thought about using instant messaging platform… and that makes so much sense I feel stupid.

      • WhoRoger@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Ha that’s a way too, although I was pitching ntfy. I don’t know much about it, but you can use it separately from IM. Foss Matrix clients just use it as a substitute for gms.

  • NotMyOldRedditName@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Just remember that anything you use thats not FCM based will be second tier to FCM.

    There are OS level restrictions that FCM can bypass that you won’t be able to with any other service.

    You can ask users to disable battery optimizations but even then, they’ll be intermittently unreliable, and you’ll ultimately end up in situations where they won’t receive them until the next time they open the app or hours later, depending on the manufacturer

    And in case it wasn’t clear, you don’t need to be a IM app to use FCM. That’s not it’s only purpose.