mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Detect Huawei Mate 20 Pro
This commit is contained in:
parent
590234ba13
commit
fc08e23f54
@ -490,7 +490,7 @@
|
||||
], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [
|
||||
|
||||
/d\/huawei([\w\s-]+)[;\)]/i,
|
||||
/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i // Huawei
|
||||
/(nexus\s6p|vog-l29|ane-lx1|eml-l29|lya-l09)/i // Huawei
|
||||
], [MODEL, [VENDOR, 'Huawei'], [TYPE, MOBILE]], [
|
||||
|
||||
/android.+(bah2?-a?[lw]\d{2})/i // Huawei MediaPad
|
||||
|
@ -1132,5 +1132,14 @@
|
||||
"model": "EML-L29",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Huawei Mate 20 Pro",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 9; LYA-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.90 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Huawei",
|
||||
"model": "LYA-L09",
|
||||
"type": "mobile"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user