UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Telegram Notification

    Scheduled Pinned Locked Moved Support
    36 Posts 8 Posters 8.8k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • G Offline
        guru @stefwe
        last edited by

        I'd like to know, how the existing notification for Tg works and how a future should work.

        The problem I see is, that the the mobile device gets an WAN IP addr (when data mobile is on) and could register this IP somewhere in some service. This has two problems: 1) the IP changes every now and than when the mobile wakes up and gets a new IP assigned (the registered IP addr maybe invalid when a Tg notification should be send) and 2) I did tests and could not connect to any services running on my mobile BQ E4.5 from outside (i.e. I ssh'ed to one of my servers from the device and did connects to the WAN IP my mobile has in that moment); it seems that the connects are blocked by the mobile provider.

        The other method could e some 'polling', i.e. when the mobile is up or wakes up, it polls frequently the external service. This would require frequently wake-ups and would cause battery drain.

        Said that, how the service will work? Thanks

        flohackF 1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack @stefwe
          last edited by

          @Einstein212 Yes we are starting to plan this, but because of resource issues we will likely just take over the existing functions for the moment. But if we run the server, we can at least try to debug what's going wrong when a device does not receive anything...

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          S 1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @guru
            last edited by

            @guru Yes this is in fact a polling service. Your device looks every x minutes if there are new notifications. it is only push from Telegram/other service to the push server, from there its rather pull ^^

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              UKPhil @flohack
              last edited by

              @Flohack Would this mew push pull server you talk about help resolce the notification issue where if you view a telegram message on another device, the UBPorts device still shows the notification, even though it has been read before? Also will it help stop the current issue where I getting email noyifications for the whole days worth, even though I have already read and actioned them previously?

              U flohackF 2 Replies Last reply Reply Quote 0
              • U Offline
                UKPhil @UKPhil
                last edited by UKPhil

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S Offline
                  stefwe @flohack
                  last edited by stefwe

                  @Flohack I used telegram on my linage device without google apps. There is also a polling function or something, because it works without google services.
                  For me i will spend some battery power to get notifications...

                  Meizu MX4 16.04 | Nexus 5 16.04

                  1 Reply Last reply Reply Quote 0
                  • flohackF Offline
                    flohack @UKPhil
                    last edited by

                    @UKPhil Hello,

                    no this issue will not be resolved, since Telegram server is sending the notification very fast, so even if you read it quickly, its already being sent to your device...

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                    U 1 Reply Last reply Reply Quote 0
                    • U Offline
                      UKPhil @flohack
                      last edited by

                      @Flohack that is a shame as this is something that really needs to be fixed going forward. All the other major os's do this and user have come to expect it. This already puts us on a bit of a back footing. Basic things like this really need to be addressed. It is not a case of copying the other, but user expect a certain level of technology now and not to have to go backwards.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Chaosdelphin
                        last edited by

                        This bug is realy annoying...in the past i mixed up the telegram acounts with two different bq4.5 ..so the bug rises again from time to time and i am running out of mail addresses for the ubuntu_one accounts πŸ˜• there might be a sort of workarround using a chatbot, raspberry and vpn, to get the new messages the chstbot grapps...

                        1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack
                          last edited by

                          @chaosdelphin said in Telegram Notification:

                          buntu_one accounts πŸ˜• there

                          Guys look at this list: https://github.com/ubports/telegram-app/issues - there are 54 issues with Telegram, you think notifications is special? Think again, plus we are about 1-2 years behind the official clients, in regard to features. We are working as fast as we can, but we are no fulltime devs...

                          BR

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post