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
    ·
    edit-2
    23 days 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
      ·
      edit-2
      23 days 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
    ·
    22 days 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.ml
      hexagon
      ·
      22 days 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.

  • GolfNovemberUniform@lemmy.ml
    ·
    23 days 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.