I download the apk file from Whatsapp website to install in GrapheneOS, and I’ve noticed that notifications for messages are very delayed from 15 minutes to no notifications at all until I turn on phone screen and then all of the messages come through. Is there other Whatsapp users with similar issues with functionality?

Signal functions good but there have been times of small delays with messages coming through to get a notification.

  • Nobilmantis@feddit.it
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 month ago

    A lot of android apps rely on GCM (google’s notification servers), I assume Whatsapp is one. Signal does too, but I think it can use its own websockets when gcm is not available, same for telegram. Whatsapp probably not.

    Some ROMs with no google services restore the gcm funciinality via microg. Graphene os, as far as i know, does not have microg.

    • Samsy@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      1 month ago

      Hmm not exactly. WhatsApp is closed source, we don’t know exactly how it works, but since it is based on XMPP, chances are high it uses xmpps own push service. Either there would be a notification about missing GCM or firebase.

      Btw. Websockets on signal and telegram needs the apps running in background which eats up the battery. That’s why a lot of degoogled-users install unifiedpush via ntfy-app. Some third party alternatives support unifiedpush, signal = molly + unifiedpush and telegram = mercurygram or nagram.

  • The Hobbyist@lemmy.zip
    link
    fedilink
    arrow-up
    11
    ·
    1 month ago

    Have you installed google services on your phone? they are available through the grapheneOS official “App Store” app. This should be installed before whatsapp is installed (at least that is the instruction for general apps depending on google services).

    Perhaps you have done so already, but just a general advice: when using google services and invasive apps like WhatsApp, it can be a good idea to install in their dedicated profile and allow the notifications to pipe through to your main profile instead of installing both in your main profile. If you need help configuring it, let me know.

    • galileopie@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      I know Services is available in a sandbox, I didn’t think of that, presumably because I view it either with disdan or treat is not an option. There’s also MicroG which I’ve never been interested in trying.

      • Scott@lem.free.as
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 month ago

        That’s the problem. WhatsApp will use GCM for push notifications. No GSF, no GCM.

  • countrypunk@slrpnk.net
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    I have WhatsApp from Aurora store on grapheneOS and occasionally get what you’re describing, but it’s not constant.

    • galileopie@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      I did wonder if Aurora version might function better. I downloaded the standalone apk file in hopes that there would be a removal from such heavy dependancies compared to the Play Store version.

  • GolfNovemberUniform@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 month ago

    WhatsApp uses Google push notification service which is not available on GrapheneOS. Try to disable all battery restrictions for the app so it can check for notifications by itself but idk if it’ll work still.

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I had that problem when I used whatsapp five years ago. Amazing that they still haven’t fixed it.