mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-30 17:27:44 +03:00
Improve device detection for wearables
This commit is contained in:
@@ -151,5 +151,14 @@
|
||||
"model": "Z00ED",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "ASUS ZenWatch",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 5.0.1; ASUS ZenWatch Build/LWX48S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/19.77.34.5 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "ASUS",
|
||||
"model": "ZenWatch",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -160,5 +160,23 @@
|
||||
"model": "LK430",
|
||||
"type": "tablet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "LG Watch Urbane",
|
||||
"ua": "Mozilla/5.0 Linux; Android 7.1.1; LG Watch Urbane Build/NWD1.180306.004 AppleWebKit/537.36 KHTML, like Gecko Chrome/19.77.34.5 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "LG",
|
||||
"model": "Watch Urbane",
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "LG G Watch R",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 5.1.1; G Watch R Build/LCA44B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Crosswalk/15.44.384.12 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "LG",
|
||||
"model": "G Watch R",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -79,5 +79,14 @@
|
||||
"model": "Moto E (4)",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Motorola Moto 360",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 4.4; Moto 360 Build/KNX01S) AppleWebKit/537.36 (KHTML, like Gecko) WIB/0.9.8 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Motorola",
|
||||
"model": "Moto 360",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -115,5 +115,14 @@
|
||||
"model": "OPD2203",
|
||||
"type": "tablet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "OnePlus Watch 2",
|
||||
"ua": "Dalvik/2.1.0 (Linux; U; Android 13; OPWWE231 Build/TWR7.231113.001.OPWWE231_11_A.117.240703)",
|
||||
"expect": {
|
||||
"vendor": "OnePlus",
|
||||
"model": "OPWWE231",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -133,5 +133,41 @@
|
||||
"model": "CPH1723",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "OPPO Watch 46mm",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 8.1.0; OW19W3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "OPPO",
|
||||
"model": "OW19W3",
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "OPPO Watch 41mm",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 8.1.0; OW19W2 Build/OPM1.171019.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "OPPO",
|
||||
"model": "OW19W2",
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "OPPO Watch 2",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 8.1.0; OW20W1 Build/OPM1.171019.026.11_A.37.210713172937; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "OPPO",
|
||||
"model": "OW20W1",
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "OPPO Watch X",
|
||||
"ua": "Dalvik/2.1.0 (Linux; U; Android 13; OWWE231 Build/TWR7.231113.001.OWWE231_11_A.117.240703)",
|
||||
"expect": {
|
||||
"vendor": "OPPO",
|
||||
"model": "OWWE231",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -242,6 +242,15 @@
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Samsung Galaxy Watch7",
|
||||
"ua": "Dalvik/2.1.0 (Linux; U; Android 14; SM-L300 Build/AW2E.240318.016)",
|
||||
"expect": {
|
||||
"vendor": "Samsung",
|
||||
"model": "SM-L300",
|
||||
"type": "wearable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Samsung Note 10.1",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 5.1.1; SM-P605) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36",
|
||||
@@ -367,5 +376,14 @@
|
||||
"model": "SM-N920C",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Samsung Galaxy Gear Live",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 4.4; Gear Live Build/KMV78X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/19.77.34.5 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Samsung",
|
||||
"model": "Gear Live",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
@@ -205,5 +205,14 @@
|
||||
"model": "PlayStation Vita",
|
||||
"type": "console"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Sony SmartWatch 3",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 5.0.2; SmartWatch 3 Build/LWX49K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/19.77.34.5 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Sony",
|
||||
"model": "SmartWatch 3",
|
||||
"type": "wearable"
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user