Skip to content

Commit d405cda

Browse files
authored
Detect new brand: AG Mobile and Detect devices for existing brands: Google, Pioneer, Sony, Ross&Moor, Nomi, Motorola, Prestigio, Jinga, UNIWA, Lenovo, LG, LeEco, Xiaomi, Hotwav, Panasonic, Bluboo, Meizu, UMIDIGI, Highscreen, Gooweel. Asus, BenQ, Doogee, Explay and Detect app: Google Fiber TV (#6799)
* feat(app) detect app: Google Fiber TV feat(device) detect brand Google models: Fiber GFHD100, Fiber GFHD200 feat(device) detect brand Pioneer model: Fiber BDP-160 feat(device) detect brand Sony model: NSZ-GS7 feat(os) detect Cinnamon defined as GNU/Linux * feat(test) add tests: Bluboo Maya Max, Hisense L675, Vertex Impress Game, Inoi 5i, Hisense Infinity H12, Vertex Impress Luck feat(device) rename Nomi C07008 to Nomi Sigma feat(device) detect brand Ross&Moor models: RMD-550 feat(device) detect brand Nomi models: Ultra 3 Pro (C101040) feat(device) detect brand Motorola models: Moto G5s Plus feat(device) detect brand Prestigio models: Wize R3 (PSP3423DUO) feat(device) detect brand Jinga models: Hit 4G feat(device) detect brand UNIWA models: F40 feat(device) detect brand Lenovo models: Yoga Smart Tab (YT-X705L, YT-X705F), Tab M7 (TB-7305I) * feat(device) detect brand LeEco model: Le Max 2 (LEX820) feat(device) detect brand Xiaomi model: Mi Note 10 Lite feat(device) detect brand Hotwav models: Symbol R60, Symbol X, Symbol Max feat(device) detect brand LG model: G4 (LG-H812) feat(device) detect brand Panasonic model: Eluga I7 * feat(device) detect brand Bluboo model: Picasso 4G feat(device) detect brand Meizu model: PRO 5 feat(device) detect brand UMIDIGI model: S2 Lite feat(device) detect brand Highscreen model: Prime L feat(device) detect brand Jinga model: Basco M500 3G feat(device) detect brand Gooweel model: M5 Pro * feat(device) detect new brand AG Mobile models: Hashtag, Shine, Chacer feat(device) detect brand Asus models: Fonepad 7 (K01N, K019), MeMO Pad 7 (K017), MeMO Pad 8 (K015) feat(device) detect brand BenQ model: F5 feat(device) detect brand Doogee model: Iron Bone DG750 feat(device) detect brand Explay models: Onyx, Onliner 4 feat(device) detect brand Highscreen models: Spade, Spark 2 * fix: YAML Lint * feat(device) detect brand LG models: V20 (LG-US996), Stylus 2 (LG-K520), K51S (LM-K510), Solo LTE (LGL423DL), Stylo 3 Plus (LG-TP450) feat(device) add tests: Infinix Note 5 (X604), Motorola Moto E4, * fix: YAML lint
1 parent b9a5964 commit d405cda

File tree

10 files changed

+1073
-84
lines changed

10 files changed

+1073
-84
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ abstract class AbstractDeviceParser extends AbstractParser
9898
'AD' => 'Advance',
9999
'AF' => 'AfriOne',
100100
'A3' => 'AGM',
101+
'J0' => 'AG Mobile',
101102
'AZ' => 'Ainol',
102103
'AI' => 'Airness',
103104
'AT' => 'Airties',

Tests/fixtures/phablet.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6416,3 +6416,87 @@
64166416
model: Galaxy Note 4
64176417
os_family: Android
64186418
browser_family: Unknown
6419+
-
6420+
user_agent: 'Mozilla/5.0 (Linux; Android 10; Mi Note 10 Lite Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/307.0.0.40.111;]'
6421+
os:
6422+
name: Android
6423+
version: "10"
6424+
platform: ""
6425+
client:
6426+
type: mobile app
6427+
name: Facebook
6428+
version: 307.0.0.40.111
6429+
device:
6430+
type: phablet
6431+
brand: Xiaomi
6432+
model: Mi Note 10 Lite
6433+
os_family: Android
6434+
browser_family: Unknown
6435+
-
6436+
user_agent: Mozilla/5.0 (Linux; Android 10; Symbol R60 Build/QP1A.190711.020) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36
6437+
os:
6438+
name: Android
6439+
version: "10"
6440+
platform: ""
6441+
client:
6442+
type: browser
6443+
name: Chrome Mobile
6444+
version: 80.0.3987.99
6445+
engine: Blink
6446+
engine_version: ""
6447+
device:
6448+
type: phablet
6449+
brand: Hotwav
6450+
model: Symbol R60
6451+
os_family: Android
6452+
browser_family: Chrome
6453+
-
6454+
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; K01N Build/KVT49L) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36 Instagram 93.1.0.19.102 Android (19/4.4.2; 160dpi; 600x976; asus; K01N; K01N_2; redhookbay; ru_RU; 154400402)
6455+
os:
6456+
name: Android
6457+
version: 4.4.2
6458+
platform: ""
6459+
client:
6460+
type: mobile app
6461+
name: Instagram App
6462+
version: 93.1.0.19.102
6463+
device:
6464+
type: phablet
6465+
brand: Asus
6466+
model: Fonepad 7
6467+
os_family: Android
6468+
browser_family: Unknown
6469+
-
6470+
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; K019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Safari/537.36
6471+
os:
6472+
name: Android
6473+
version: 4.4.2
6474+
platform: ""
6475+
client:
6476+
type: browser
6477+
name: Chrome
6478+
version: 73.0.3683.90
6479+
engine: Blink
6480+
engine_version: ""
6481+
device:
6482+
type: phablet
6483+
brand: Asus
6484+
model: Fonepad 7
6485+
os_family: Android
6486+
browser_family: Chrome
6487+
-
6488+
user_agent: Mozilla/5.0 (Linux; Android 10; Infinix X604 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.198 Mobile Safari/537.36 GSA/11.36.10.23.arm64
6489+
os:
6490+
name: Android
6491+
version: "10"
6492+
platform: ARM
6493+
client:
6494+
type: mobile app
6495+
name: Google Search App
6496+
version: 11.36.10.23
6497+
device:
6498+
type: phablet
6499+
brand: Infinix
6500+
model: Note 5
6501+
os_family: Android
6502+
browser_family: Unknown

0 commit comments

Comments
 (0)