← Back to team overview

touch-packages team mailing list archive

[Bug 1328183] Re: User-Agent string results in poor UX on web

 

In your app’s manifest.json, just add the following key-value pair:

    "user-agent-override": "<overridden UA string>"

where <overridden UA string> is a suitable UA string. From what I
understand, you’ll want to provide a UA string of a desktop browser (try
e.g. desktop chromium’s UA string).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1328183

Title:
  User-Agent string results in poor UX on web

Status in “webbrowser-app” package in Ubuntu:
  New

Bug description:
  The User-Agent string for the browser is similar enough to the Android
  browser User-Agent, that it creates a poor experience when browsing
  the web on an Ubuntu phone. An inordinately large number of web sites
  persistently advertise to "install our app" instead of providing the
  best web experience; an app which cannot be installed.

  This is exacerbated by the pervasiveness of webapps on Ubuntu phone,
  which simply embed the mobile web site with webapp-container, and
  still result in seeing such advertisements, despite the fact that the
  "app" on Ubuntu is already installed, and the Android apps being
  advertised are simply not installable.

  Having all the big web sites telling users of Ubuntu that they should
  be using Android instead, is not very good for the user experience at
  all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1328183/+subscriptions