mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 07:02:16 +03:00
Added Generic Android detection
This commit is contained in:
committed by
Nikhil Motiani
parent
8e9c400ec5
commit
fbe8a0e3a6
@@ -659,9 +659,13 @@
|
||||
|
||||
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
|
||||
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
|
||||
], [[TYPE, util.lowerize], VENDOR, MODEL]
|
||||
], [[TYPE, util.lowerize], VENDOR, MODEL], [
|
||||
|
||||
/*//////////////////////////
|
||||
/(android.+)[;\/].+build/i // Generic Android Device
|
||||
], [MODEL, [VENDOR, 'Generic']]
|
||||
|
||||
|
||||
/*//////////////////////////
|
||||
// TODO: move to string map
|
||||
////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user