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

    Whatsweb app upgrade.

    Scheduled Pinned Locked Moved App Development
    41 Posts 3 Posters 2.8k 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 @bunt7
        last edited by

        @bunt7

        You're problems are unrelated to Whatsweb app, if the dictaphone does not work, it means it's a problem with the support of the mic on your device. Do not hesitate to open a topic in Support section if you need help.

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

          @mihael said in Whatsweb app upgrade.:

          @pparent Couldn't your work be addapted to Morph Broswer to feature Notifications?

          In theory yes.

          In practice I'm not sure this will happen, because note that my work on notifications requires the app to be unsupsended, and you probably don't want to keep the morph browser running unsuspended in background, in general, especially if you want to have several tabs running. So I doubt developers will want to go that way.

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

            @pparent Actually I'm keeping Morph unsuspended all the time and Morph suspends some of its tabs. I would be happy with this workaround...

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

              @mihael

              What websites would you need notifications for?

              I guess a solution would be to make webapps for those sites on the model of Whatsweb.

              Something that could realistically be integrated into Morph, is Web Push API ( https://developer.mozilla.org/en-US/docs/Web/API/Push_API ), although not all the websites support it, it could in theory allow to wake up some tabs only in case of an event from the server, and possibly trigger a system notification if the website was designed that way. But I guess it would require quite a lot of work to be properly integrated into Morph.

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

                @mihael

                Actually a nice option would be to have a notifications option (when unsuspended) in webber and webapp-container , to be able to build easily webapp wrapper with support for notifications.

                Although I'm not sure if it could make its way, as core developers are quite reluctant to any solution oriented towards promoting unsuspended apps. ( Although if the user periodically turns on the screen to check for any update I guess it can drain more battery than having a background webview running )

                You can open a feature request in the appropriate project.

                1 Reply Last reply Reply Quote 0
                • mihaelM Online
                  mihael
                  last edited by

                  Thank you for your answers. I do not need notifications for just some specific websites, I just wanted UT to have a browser with notifications which I think is important. Yes, the webapp-container (through webber?) is a possible idea. But in my experience, I preferred to have a website opened as a tab in Morph instead of having it separately in a webapp-container - it seemed to me to use less battery. Probably because Morph suspends some of its tabs.

                  I also imagined that if Morph is kept alive then it would notify even if that specific tab of the website that sends the notification is not opened.

                  Thank you again!

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

                    @mihael said in Whatsweb app upgrade.:

                    I preferred to have a website opened as a tab in Morph instead of having it separately in a webapp-container - it seemed to me to use less battery. Probably because Morph suspends some of its tabs.

                    I guess it's also because currently in a webapp, the webview is not minimized/hidden, if the app is unsuspended in background, as I did in Whatsweb (which is pretty simple to do), so the view keeps being rendered. ( Versus considered minimized and do not compute rendering).

                    I guess that tabs in background in morph, if they are really still running, might be actually considered as minimized, and do not compute rendering. Although I did not know Morph would keep several tabs running in parallel and I guess it could be a problem if we forget tabs running in background.

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

                      I've made a new pull request:

                      https://github.com/alefnode/ubports-apps/pull/59

                      Anyone who would like to join the testing is welcome!

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bunt7
                          last edited by

                          One question: I changed my simcard this days, because the old one did not work anymore. But somehow I lost my whatsweb connection. Now I don`t know how log in again. I have no old smartphone to scan the code or do it with a phone number? How can I lock in again?

                          mihaelM 1 Reply Last reply Reply Quote 0
                          • mihaelM Online
                            mihael @bunt7
                            last edited by

                            @bunt7 I don't know of any other way of using whatsweb but to have an android or ios phone with whatsapp installed and with the help of that phone to scan the qr code that is displayed by whatsweb. For this reason (and for another app that doesn't work in UT waydroid) I have a spare android phone. But my daily driver is UT.

                            Actually I don't know but maybe whatsapp works inside waydroid? - if yes, then you may install whatsapp on waydroid and somehow take a picture of the qr code from whatsweb and then scan it with whatsapp from within waydroid...

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

                              @mihael said in Whatsweb app upgrade.:

                              Actually I don't know but maybe whatsapp works inside waydroid?

                              Yes, it works you can download apk from official website.

                              somehow take a picture of the qr code from whatsweb and then scan it with whatsapp from within waydroid...

                              For the Qr-code option, you need to use a second device to take a picture of the Qr-Code, and then switch to Waydroid app, and scan the Qr-code on the screen of the second device. (I've not tested it for Whatsapp but it works for Signal).

                              It should also possible to use the phone number option, then you don't need another device, just to copy a code that will appear in the waydroid app. It should be easier!

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