Skip to content

Commit

Permalink
Detect new brands DMOAO, Hyatta, PVBox, ROCH and Detect device for ex…
Browse files Browse the repository at this point in the history
…ist brands (#199)

* feat(sync) Improves version detection for iOS and macOS (matomo-org#7794)
---
feat(sync) Improves version detection for Brave (matomo-org#7795)
---
feat(sync) Detect new brands DMOAO, Hyatta, PVBox, ROCH and Detect device for exist brands (matomo-org#7796)
feat(device) detect new brand ROCH: RH-LE43DSY-C
feat(device) detect brand CHCNAV: HCE600
feat(device) detect brand Tuvio: TD55UFBHV1
feat(device) detect brand Harper: 43F660TS
feat(device) detect brand Samtron: 50SA707
feat(device) detect brand HIPER: Media TV M5
feat(device) detect brand Motorola: One Action (XT2013-2), Edge Plus (XT2061-3)
feat(device) detect new brand DMOAO: D3
feat(device) detect brand iPro: S501A Plus
feat(device) detect brand Doogee: S Cyber
feat(device) detect brand Xiaomi: Mix Fold 4 (24072PX77C)
feat(device) detect brand Motorola: Edge 40 Neo (XT2307-1)
feat(device) detect brand AllDocube: iPlay 60, iPlay 50 Lite
feat(device) detect brand ONYX BOOX: Kant 2
feat(device) detect brand YUMKEM: U310
feat(device) detect brand GOtv: GO700FR
feat(device) detect brand Ergo: GHS55
feat(device) detect brand OnePlus: Pad Go 11.35" (OPD2304)
feat(device) detect new brand Hyatta: Model 5, Model 6s
feat(device) detect new brand PVBox: P5 Pro
feat(device) detect brand CHCNAV: HCE700
feat(device) detect brand Blu: Studio G Plus
feat(device) detect brand iHunt: Strong Tablet X Pro
feat(device) detect brand Vastking: KingPad Z10
feat(device) detect brand Lava: Z3 Pro (LZG403 25), Yuva 2 Pro (LZX408)
feat(device) detect brand IKU Mobile: A70

* chore: generate indexes
  • Loading branch information
sanchezzzhak authored Aug 27, 2024
1 parent 655b5f4 commit b6f7955
Show file tree
Hide file tree
Showing 25 changed files with 4,942 additions and 2,749 deletions.
644 changes: 325 additions & 319 deletions README.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class DeviceDetector {
this.addParseDevice(DEVICE_PARSER_LIST.CAMERA, new CameraParser());
this.addParseDevice(DEVICE_PARSER_LIST.PORTABLE_MEDIA_PLAYER, new PortableMediaPlayerParser());
this.addParseDevice(DEVICE_PARSER_LIST.MOBILE, new MobileParser());

this.addParseVendor(VENDOR_FRAGMENT_PARSER, new VendorFragmentParser());

this.addParseBot(BOT_PARSER, new BotParser());
Expand Down
5 changes: 3 additions & 2 deletions parser/client/browser-families.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module.exports = {
'Android Browser': ['AN'],
'BlackBerry Browser': ['BB'],
'Baidu': ['BD', 'BS'],
'Baidu': ['BD', 'BS', 'H6'],
'Amiga': ['AV', 'AW'],
'Chrome': [
'CH', '2B', '7S', 'A0', 'AC', 'A4', 'AE', 'AH', 'AI',
Expand Down Expand Up @@ -33,7 +33,8 @@ module.exports = {
'N3', 'GD', 'O9', 'Q3', 'F7', 'K2', 'P5', 'H5', 'V3',
'K3', 'Q4', 'G2', 'R2', 'WX', 'XP', '3I', 'BG', 'R0',
'JO', 'OL', 'GN', 'W4', 'QI', 'E1', 'RI', '8B', '5B',
'K4', 'WK', 'T3', 'K5', 'MU', '9P', 'K6', 'VR',
'K4', 'WK', 'T3', 'K5', 'MU', '9P', 'K6', 'VR', 'N9',
'M9', 'F9', '0P', '0A', 'JR', 'D3',
],
'Firefox': [
'FF', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1',
Expand Down
4 changes: 2 additions & 2 deletions parser/client/browser-short-mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = [
'ZR', 'D6', 'F6', 'P3', 'FT', 'A9', 'X2', 'NI', 'FG',
'TH', 'N3', 'GD', 'O9', 'Q3', 'F7', 'K2', 'N4', 'P5',
'H5', 'V3', 'G2', 'BG', 'OL', 'II', 'TL', 'M6', 'Y3',
'M7', 'GN', 'D3', 'IG', 'HW', '4O', 'OU', '5P', 'KE',
'M7', 'GN', 'JR', 'IG', 'HW', '4O', 'OU', '5P', 'KE',
'5A', 'TT', '6P', 'G3', '7P', 'VU', 'F8', 'L4', 'DK',
'DP', 'KL', 'K4', 'N6', 'KU', 'WK', 'M8', 'UP', 'ZT',
'9P', 'N8', 'VR',
'9P', 'N8', 'VR', 'N9', 'M9', 'F9', '0P', '0A',

];
7 changes: 7 additions & 0 deletions parser/client/browser-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = {
'A4': 'AOL Shield Pro',
'2A': 'Aplix',
'A6': 'AppBrowzer',
'0A': 'AppTec Secure Browser',
'AP': 'APUS Browser',
'AR': 'Arora',
'AX': 'Arctic Fox',
Expand Down Expand Up @@ -106,6 +107,7 @@ module.exports = {
'BX': 'BrowseX',
'BZ': 'Browzar',
'B7': 'Browlser',
'M9': 'Browser Mini',
'4B': 'BrowsBit',
'BY': 'Biyubi',
'BF': 'Byffox',
Expand Down Expand Up @@ -222,6 +224,7 @@ module.exports = {
'FH': 'Flash Browser',
'FS': 'Flast',
'F5': 'Flyperlink',
'F9': 'FOSS Browser',
'FU': 'FreeU',
'F6': 'Freedom Browser',
'FT': 'Frost',
Expand Down Expand Up @@ -253,6 +256,7 @@ module.exports = {
'H4': 'Holla Web Browser',
'H5': 'HotBrowser',
'HJ': 'HotJava',
'H6': 'HONOR Browser',
'HT': 'HTC Browser',
'HU': 'Huawei Browser Mobile',
'HP': 'Huawei Browser',
Expand Down Expand Up @@ -424,6 +428,7 @@ module.exports = {
'OW': 'OmniWeb',
'OT': 'Otter Browser',
'4O': 'Owl Browser',
'JR': 'OJR Browser',
'PL': 'Palm Blazer',
'PM': 'Pale Moon',
'PY': 'Polypane',
Expand All @@ -436,13 +441,15 @@ module.exports = {
'PW': 'Palm WebPro',
'PA': 'Palmscape',
'P7': 'Pawxy',
'0P': 'Peach Browser',
'PE': 'Perfect Browser',
'K6': 'Perk',
'P1': 'Phantom.me',
'PH': 'Phantom Browser',
'PX': 'Phoenix',
'PB': 'Phoenix Browser',
'5P': 'Photon',
'N9': 'Pintar Browser',
'P9': 'PirateBrowser',
'P8': 'PICO Browser',
'PF': 'PlayFree Browser',
Expand Down
10 changes: 10 additions & 0 deletions parser/device/brand-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module.exports = {
'54': 'AMCV',
'60': 'Andowl',
'ANX': 'ANXONIT',
'ANL': 'ANCEL',
'ANC': 'ANBERNIC',
'6J': 'Angelcare',
'ANG': 'AngelTech',
Expand Down Expand Up @@ -240,6 +241,7 @@ module.exports = {
'CA': 'Cat',
'BC': 'Camfone',
'CJ': 'Cavion',
'CNM': 'Canaima',
'CAN': 'Canal+',
'4D': 'Canal Digital',
'CNG': 'Canguro',
Expand All @@ -262,6 +264,7 @@ module.exports = {
'C3': 'China Mobile',
'U9': 'China Telecom',
'CI': 'Chico Mobile',
'CHC': 'CHCNAV',
'CIA': 'C Idea',
'CIP': 'CipherLab',
'CIT': 'Citycall',
Expand Down Expand Up @@ -373,6 +376,7 @@ module.exports = {
'DIN': 'Dinax',
'DNA': 'Dinalink',
'DM': 'DMM',
'DMO': 'DMOAO',
'DN': 'DNS',
'DC': 'DoCoMo',
'DF': 'Doffler',
Expand Down Expand Up @@ -535,6 +539,7 @@ module.exports = {
'F5': 'Formuler',
'FR': 'Forstar',
'RF': 'Fortis',
'FRT': 'FortuneShip',
'FO': 'Foxconn',
'FOD': 'FoxxD',
'FJ': 'FOODO',
Expand Down Expand Up @@ -705,6 +710,7 @@ module.exports = {
'7H': 'Hyve',
'HYT': 'Hytera',
'HYK': 'Hykker',
'HYA': 'Hyatta',
'3I': 'i-Cherry',
'IJ': 'i-Joy',
'IM': 'i-mate',
Expand Down Expand Up @@ -838,6 +844,7 @@ module.exports = {
'KND': 'Kendo',
'KZG': 'KZG',
'K1': 'Kiano',
'KID': 'kidiby',
'5W': 'Kingbox',
'KI': 'Kingsun',
'KIS': 'Kinstone',
Expand Down Expand Up @@ -1269,6 +1276,7 @@ module.exports = {
'0P': 'POCO',
'FH': 'Point Mobile',
'PV': 'Point of View',
'PVB': 'PVBox',
'PL': 'Polaroid',
'Q6': 'Polar',
'97': 'PolarLine',
Expand Down Expand Up @@ -1360,6 +1368,7 @@ module.exports = {
'RIZ': 'Rizzen',
'RR': 'Roadrover',
'QR': 'ROADMAX',
'ROH': 'ROCH',
'ROC': 'Roam Cat',
'ROT': 'Rocket',
'R1': 'Rokit',
Expand Down Expand Up @@ -1750,6 +1759,7 @@ module.exports = {
'VIS': 'Vision Technology',
'VIL': 'Visual Land',
'VI1': 'VILLAON',
'VIM': 'VIMOQ',
'VK': 'VK Mobile',
'JM': 'v-mobile',
'VHO': 'V-HOPE',
Expand Down
Loading

0 comments on commit b6f7955

Please sign in to comment.