matomo-org / device-detector

The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.
http://devicedetector.net
GNU Lesser General Public License v3.0
2.95k stars 476 forks source link

Platform ARM wrong detect #7729

Closed sanchezzzhak closed 4 months ago

sanchezzzhak commented 4 months ago

if ARM is present in the brand name, we specify the ARM platform

In the usual case, we leave this field empty.

-
  user_agent: Mozilla/5.0 (Linux; Android 13; Armor 22) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36
  os:
    name: Android
    version: "13"
    platform: ARM
  client:
    type: browser
    name: Chrome Mobile
    version: 126.0.0.0
    engine: Blink
    engine_version: 126.0.0.0
  device:
    type: smartphone
    brand: Ulefone
    model: Armor 22
  os_family: Android
  browser_family: Chrome
liviuconcioiu commented 4 months ago

The same for

-
  user_agent: Mozilla/5.0 (Linux; Android 10; Armadillo Phone) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.81 Mobile Safari/537.36
  os:
    name: Armadillo OS
    short_name: ARM
    version: ""
    platform: ARM
    family: Android