express-useragent icon indicating copy to clipboard operation
express-useragent copied to clipboard

Why override `User-Agent` with `X-UCBrowser-UA`?

Open jiabinf opened this issue 8 years ago • 1 comments

X-UCBrowser-UA header is a pretty much proprietary format:

  • Android:

    dv(MI NOTE LTE);pr(UCBrowser/11.2.5.884);ov(Android 6.0.1);ss(392*698);pi(1080*1920);bt(UC);pm(1);bv(1);nm(0);im(0);sr(0);nt(2);
    
  • iPhone:

    dv(iPh9,1);pr(UCBrowser/11.3.0.895);ov(10_2);ss(375x667);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);
    

In this case, express-useragent detects this Android phone as Android tablet device. This issue possibly happens on other Android devices which UC browser is running on.

jiabinf avatar Dec 27 '16 06:12 jiabinf

For Android Mobile - UC browser "isTable" true

mohdarifa avatar Feb 07 '18 07:02 mohdarifa