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

Nexus 4 detected as android 4.4

Scheduled Pinned Locked Moved Solved Support
10 Posts 4 Posters 575 Views 2 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.
    • D Offline
      dtarrant
      last edited by 17 Jul 2020, 07:19

      BBC iPlayer has stopped working on my N4, but still works fine on my M10 tablet.
      I've investigated using www.whatsmybrowser.org and found that the OS is reported as Ubuntu 16.04 for the M10, but Android 4.4 for the N4.
      Both devices were running Ubuntu touch version 553.
      The BBC Troubleshooting page cites an 'outdated browser' as a likely cause of problems.
      Please advise how I should proceed. Thanks.

      A 1 Reply Last reply 17 Jul 2020, 07:33 Reply Quote 0
      • A Offline
        AppLee @dtarrant
        last edited by 17 Jul 2020, 07:33

        @dtarrant
        In Morph Browser, you can try the hamburger menu (upper-right) -> parameters -> Activate desktop mode
        If it doesn't work you can try to change the user agent.

        But if the browser has to be updated then you'll have to wait until a more recent QtWebEngine is integrated...
        The first tip should work if both are running the same version of UT and one is working. :crossed_fingers:

        D S 3 Replies Last reply 17 Jul 2020, 07:55 Reply Quote 1
        • D Offline
          dtarrant @AppLee
          last edited by 17 Jul 2020, 07:55

          @AppLee The browser is reported as 'Default Browser 65' for both devices.
          I think the BBC has updated the iPlayer website recently and it is objecting to 'Android 4.4'. I don't understand why Ubuntu Touch would report itself as Android. Anyhow, thanks for your suggestion. I will give it a try.

          A 1 Reply Last reply 17 Jul 2020, 12:22 Reply Quote 0
          • D Offline
            dtarrant @AppLee
            last edited by 17 Jul 2020, 09:10

            @AppLee Great advice; many thanks! I switched browser settings to desktop mode on the N4 and now the OS is reported as Ubuntu 16.04 and the BBC iPlayer website works. You are a star!

            1 Reply Last reply Reply Quote 0
            • A Offline
              AppLee @dtarrant
              last edited by 17 Jul 2020, 12:22

              @dtarrant said in Nexus 4 detected as android 4.4:

              I don't understand why Ubuntu Touch would report itself as Android

              In order to be identified as a mobile browser, Morph uses the same user agent as android.
              Most website only consider android and iOS as web browsers...

              Glad I could help

              1 Reply Last reply Reply Quote 1
              • S Offline
                Stefano @AppLee
                last edited by Stefano 17 Jul 2020, 15:41

                @AppLee just oit of curiosity, how would you change the user agent in Morph browser?

                A 1 Reply Last reply 17 Jul 2020, 16:17 Reply Quote 0
                • A Offline
                  AppLee @Stefano
                  last edited by 17 Jul 2020, 16:17

                  @Stefano
                  In Morph, IDK, but you can add the user agent to a webapp which is what I do for some website (like my bank).
                  For webapps you have to edit the .desktop file and modify the Exec line like that:
                  Exec=webapp-container --user-agent-string="Mozilla/5.0 (X11; Ubuntu 16.04) AppleWebKit/537.36 Chrome/65.0.3325.151 Safari/537.36" --webappUrlPatterns=https://mywebsite.com/* https://mywebsite.com/

                  D 1 Reply Last reply 17 Jul 2020, 22:38 Reply Quote 0
                  • D Offline
                    dtarrant @AppLee
                    last edited by dtarrant 17 Jul 2020, 22:38

                    @AppLee That looks pretty scary to me. Could you use that technique with Webapp Creator? How about Webber?
                    I've been de-installing my private webapps (made with Webapp Creator) and replacing them with shortcuts made with Webber. In most cases this worked fine. I only had trouble with the BBC website which worked on my N4 prior their recent website upgrade.

                    D 1 Reply Last reply 18 Jul 2020, 00:20 Reply Quote 0
                    • D Offline
                      domubpkm @dtarrant
                      last edited by 18 Jul 2020, 00:20

                      @dtarrant About the user agent in webber, you can read this issue opened : https://github.com/timsueberkrueb/webber/issues/32

                      D 1 Reply Last reply 18 Jul 2020, 10:24 Reply Quote 0
                      • D Offline
                        dtarrant @domubpkm
                        last edited by 18 Jul 2020, 10:24

                        @domubpkm Interesting. Thanks for the link. Looks like a complicated subject with many variables. Not for the faint-hearted.

                        1 Reply Last reply Reply Quote 0
                        9 out of 10
                        • First post
                          9/10
                          Last post