How do notifications work in the official Telegram Android app (Play Store vs Site version maybe)? Does it have the same mechanism as Signal, which only recognizes the presence of notifications via Google services, but sends them via its web socket service?

  • AnEilifintChorcra@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    7 months ago

    Telegram uses Google services like Signal for notifications - https://telegra.ph/Notifications-FIX its the first point under the Android section

    https://core.telegram.org/api/push-updates these are the docs for building your own Telegram app, specifically the push notifications section and again it mentions using APNS for iOS or FCM for Android but they also offer Simple push which would work with Unifiedpush and would be one way to bypass FCM but I don’t know if they offer that in their official app or if there are any other Telegram apps that have implemented it

    • FarLine99@lemmy.worldOP
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      7 months ago

      “Signal only uses FCM to wake up the Android app if there are new messages waiting on the Signal server and the app isn’t connected to it. Signal does not include any information in these notifications, encrypted or otherwise, so Google can only infer that your device has something queued on Signal’s servers.” I was wondering if a similar system has been implemented in telegram?

        • FarLine99@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Too radical a solution for me, I used microG for a long time, but the notification problems made me go back to Google services. i’ve banned them from accessing camera/microphone/geolocation via App Ops (put them on ignore mode), so I’m pretty calm. but notifications are still a problem).

          • Gooey0210@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            They are priv apps, I believe it’s the same as root

            Most of the privacy apps don’t require you to have gapps and their notifications

            • FarLine99@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              7 months ago

              No, they don’t have the same privileges as root permissions. this is easily demonstrated by the camera app built into LineageOS when you enable ignore mode for camera in App Ops and it crashes. and google services also start making very untypical requests for access to stuff.

              Yes, but there aren’t many apps that respect privacy on my phone compared to the usual ones).

              • Gooey0210@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                ·
                7 months ago

                Ok, I didn’t know, it’s just usually I see some notifications like “priv app is the same as root, be careful”. Thank you

                About the apps, I recommend switching, it’s not as scary as I sounds, most of the apps have an alternative or sth like that

    • poVoq@slrpnk.net
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      The Telegram client available on F-droid does not use FCM for push notifications.