I have a us Samsung phone so I an unable to root and replace GMS with micro g. Would it he possible to patch apps (with lspatch for example) to use another app for push notifications? Firebase notifications are the only reason I have GMS at all still.

  • lividhen@kbin.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I will have to look at how that works. Maybe I can run a server on a computer to push to ntfy.

    • shortwavesurfer@monero.town
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It has a default push server setup that you can use if you wish. You could absolutely run your own server too. Ntfy has to be excluded from battery optimization to allow it to keep a websockets connection open. That is part of what makes degoogled phones drain so fast is lack of firebase notifications causing every app to maintain their own connection. Firebase covers hundreds of apps with a single connection rather than hundreds of individual connections.

      • lividhen@kbin.socialOP
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        No idea if this would he possible but my starting idea here is using a server of some sort to grab the firebase notifications and push them all over one webocket similar to GMS. What I don’t know is how registering apps works. I know from micro g they register themselves to receive notifications but I’m not sure of what data is actually given to micro g or the relationship between the app and micro g/the web socket.

          • lividhen@kbin.socialOP
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            I wonder if we could use lspatch (or similar) to hook in and change that. I might have a project ahead of me. We’ll see.