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

    Whatsweb app upgrade.

    Scheduled Pinned Locked Moved App Development
    36 Posts 3 Posters 799 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.
      • B Offline
        bunt7 @pparent
        last edited by

        @pparent Hey pparent, hopefully it is not the phone, because I just bought it.
        I will sort it out on the weekend. Thanks first of all.

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

          Just my input: to record and playback voice messages works on both focal and noble.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bunt7 @bunt7
            last edited by

            So, my smartphone is a Xiaomi POCCO C3 NFC.

            I tried to adjust an screenshot, but on Dekko 2, the mail with the screenshot to my laptop stuck in drafts, so I could not send it.

            But imagen, that the line with the text massage is flat and not "zickzack" respectively "hilly".

            A popup come for a second, to allow to use the microphone. But the second its to short to allow it.

            In android i could open "apps" - "whatsapp" an "allow using the microphone". But on UT I could not find this adjustment.

            On my old phone I used the dictaphone app a lot. But on UT it nether work.

            Ok, I just reboot the phone, and now everything works.
            Since I use UT (around two weeks), it change. Somtimes the microphone works, somtimes not.

            But I can make calls all the time normaly.

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

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

              pparentP 1 Reply Last reply Reply Quote 0
              • 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 Offline
                    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 Offline
                          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
                            • First post
                              Last post