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

    Whatslectron: Whatsapp Web with Electron.

    Scheduled Pinned Locked Moved App Development
    22 Posts 6 Posters 310 Views 1 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.
      • pparentP Online
        pparent
        last edited by pparent

        Hello everyone.

        These days Whatsapp seems to have made a major update of its "Whatsapp Web".

        This has positive and negative implications:

        *Positive: calls are now available in Whatsapp web (you may need to join beta to have it)
        *Negative: Whatsweb seems broken, it takes a lot of CPU and crashes, it seems inherent to Chromium 87 we'll see if it gets corrected.

        In the meantime I have published an application that allows to use Whatsapp web in a newer web engine through an Electron application. This will hopefully allow to enable calls.

        https://open-store.io/app/whatslectron.pparent

        Here are the current features:

        • Audio calls, but audio quality may vary ( you currently need to enable "Beta" in whatsapp web to have calls )
        • Sending and receiving text messages
        • Notifications when keeping the app open
        • Import / Export attachments via ContentHub
        • Sending and Receiving audio messages
        • Open URL externally via URLdispatcher

        As this is early version there will probably be some small bugs. (Always try to restart or retry in case of a bug ). The application should benefit a lot from upgrade to Mir2.x when it happens.

        Do not hesitate to post some feedback.

        Vlad NirkyV pparentP 2 Replies Last reply Reply Quote 0
        • Vlad NirkyV Offline
          Vlad Nirky @pparent
          last edited by

          @pparent
          Thanks for this.
          I have tried and it works too on 24.04-2.x
          Voice is working.
          But can't be closed.

          pparentP 1 Reply Last reply Reply Quote 0
          • P Offline
            projectmoon
            last edited by

            Seems like it works. But for some reason, the icon is named Signal (this is a problem with Min Browser too).

            pparentP 1 Reply Last reply Reply Quote 0
            • pparentP Online
              pparent @pparent
              last edited by pparent

              I can confirm that voice call work properly for me, calling, receiving the call, ending the call. But the audio quality was pretty poor, usable but not pleasant at all.

              It was not good either on desktop.

              I made a call with Signal Desktop with this same contact right after the quality was infinitely better.

              1 Reply Last reply Reply Quote 0
              • pparentP Online
                pparent @projectmoon
                last edited by

                @projectmoon

                This is kind of strange that the icon is named Signal, I don't have the same thing.

                mihaelM P 2 Replies Last reply Reply Quote 0
                • pparentP pparent referenced this topic
                • mihaelM Offline
                  mihael @pparent
                  last edited by

                  @pparent The icon is named Signal on my phone too 🙂 - the same is for Min Browser too.

                  • N10, 24.04
                  pparentP 1 Reply Last reply Reply Quote 0
                  • pparentP Online
                    pparent @mihael
                    last edited by

                    @mihael

                    Can you give a screenshot of the icon just to make sure we talk about the same thing?

                    mihaelM 1 Reply Last reply Reply Quote 0
                    • pparentP Online
                      pparent @Vlad Nirky
                      last edited by

                      @Vlad-Nirky said in Whatslectron: Whatsapp Web with Electron.:

                      I have tried and it works too on 24.04-2.x

                      On 24.04-2.x the keyboard does not work though, I presume, except if they have just fixed the bug.

                      1 Reply Last reply Reply Quote 0
                      • mihaelM Offline
                        mihael @pparent
                        last edited by mihael

                        @pparent 54762237-58f7-4b38-92c3-46d1b487f794-image.png

                        1 Reply Last reply Reply Quote -1
                        • P Offline
                          projectmoon @pparent
                          last edited by

                          @pparent said in Whatslectron: Whatsapp Web with Electron.:

                          @projectmoon

                          This is kind of strange that the icon is named Signal, I don't have the same thing.

                          alt text

                          Maybe localization oversight?

                          pparentP 1 Reply Last reply Reply Quote 0
                          • pparentP Online
                            pparent @projectmoon
                            last edited by

                            Ok this is very strange, I do not have this behavior on none of my 2 phones.

                            I will investigate later.

                            mihaelM 1 Reply Last reply Reply Quote 0
                            • mihaelM Offline
                              mihael @pparent
                              last edited by

                              Maybe localization oversight?

                              My phone's language is English...

                              P pparentP 2 Replies Last reply Reply Quote 0
                              • P Offline
                                projectmoon @mihael
                                last edited by

                                @mihael so is mine.

                                1 Reply Last reply Reply Quote 0
                                • pparentP Online
                                  pparent @mihael
                                  last edited by

                                  @mihael

                                  Ha yes you are right, there is an Error on the english name. I will correct on later revisions of Min Browser and Whatslectron

                                  1 Reply Last reply Reply Quote 1
                                  • mihaelM Offline
                                    mihael
                                    last edited by

                                    I love this version, it's very fluid - it seems to me that it moves faster and without delays...

                                    pparentP 1 Reply Last reply Reply Quote 0
                                    • pparentP Online
                                      pparent @mihael
                                      last edited by

                                      @mihael

                                      Yes newer Chromium web engine is way more efficient, but this should be even better when we can switch this app to Wayland (instead of Xwayland) and use the GPU to accelerate rendering, this will be when the system upgrades Mir to 2.x.

                                      (Unfortunately there are still some few keyboard-related Quirks in this version that I will try to improve in the coming weeks.)

                                      P 1 Reply Last reply Reply Quote 1
                                      • P Offline
                                        projectmoon @pparent
                                        last edited by

                                        @pparent out of curiosity, have you considered attempting to bundle the Qt6 web engine statically? Similar to whatever is going on with Morph Qt6 version.

                                        pparentP 1 Reply Last reply Reply Quote 0
                                        • pparentP Online
                                          pparent @projectmoon
                                          last edited by pparent

                                          @projectmoon

                                          Yes but for now I needed something that works fast, and I know how to make an electron app work fast on UT, for now QT6 bundling is a bit more obscure to me.

                                          Also I think Electron apps really have advantages for this kind of important and complex webapp, because it does not depend on the webengine of the system that can easily become too old, and it's way more flexible. Sadly he version of the webengine in Morph Qt6 is still a bit old, and not as performant as Chromium 140+ .

                                          I know that electron apps currently have the disadvantage to run on XWayland, but it will hopefully be solved with Mir2.x release, making them more performant et more integrated to the system, and perfect for this kind of complexe webapp that are very sensitive to the browser engine version.

                                          Also @chromiumos-guy is working on xdg_portal integration that will fursther help with better integration of electron apps into the system. ( Thanks! )

                                          pparentP 1 Reply Last reply Reply Quote 1
                                          • pparentP Online
                                            pparent @pparent
                                            last edited by

                                            @projectmoon @mihael @vlad-nirky

                                            I would like to maybe find a better name that "Whatslectron" because this is a name the I've found rapidly but it seems to long, at least for the icon.

                                            I've been thinking in "Whatse⁻" "Whatsem" "Whatsep", ect... But I'm not 100% convinced by any of them.

                                            Any idea or preference?

                                            Vlad NirkyV MoemM 2 Replies Last reply Reply Quote 0
                                            • Vlad NirkyV Offline
                                              Vlad Nirky @pparent
                                              last edited by

                                              @pparent
                                              whatsup ?

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