Skip to content

Commit

Permalink
Detect new brands: Ajib, QWATT and Detect devices for exist brands (#…
Browse files Browse the repository at this point in the history
…7648)

feat(device) detect new brand Ajib: X1, L1
feat(device) detect brand Tecno Mobile: Spark 20 (TECNO KJ5, TECNO KJ5n), Spark 10 Pro (TECNO KI7s, TECNO KJ6), Camon 20 Pro 5G (TECNO CK8nB), Spark 20C (TECNO BG7n, TECNO BG7), Pop 8 (TECNO BG6i, TECNO BG6h)
feat(device) detect brand Xiaomi: Redmi Note 13 (23129RA5FL), Redmi Note 13 5G (2312DRAABI), Redmi 13C 5G (23124RN87I), Redmi K70E (2311DRK48C), Redmi K70 (23113RKC6C)
feat(device) detect brand CORN: Tronik 12S
feat(device) detect brand Mintt: CoolMintt A8
feat(device) detect brand Vivo: Y17s (V2331)
feat(device) detect brand Novey: Alpha A10
feat(device) detect brand POCO: C51, C65 (2310FPCA4I), X6 5G (23122PCD1I), M6 5G (23128PC33I), X6 Pro 5G (2311DRK48I)
feat(device) detect brand Xiaomi: Mi 10 Pro (M2001J1G)
feat(device) detect brand DISH: Celero 3 5G+
feat(device) detect brand ZTE: Blade L220, Blade X10 (T1002)
feat(device) detect brand AT&T: Propel 5G
feat(device) detect brand TCL: 40 SE (T610E)
feat(device) detect brand OPPO: Find N3 (CPH2499)
feat(device) detect brand OnePlus: 12R (CPH2585)
feat(device) detect brand Ace: Buzz 4 Ultra, Buzz 4 Note
feat(device) detect brand Lava: Blaze Pro (LZX404), Agni 2 5G (LXX504)
feat(device) detect brand Huawei: Honor X8b (LLY-LX2, LLY-LX1, LLY-LX3), Honor Magic V2 (VER-N49), Honor X50i+ 5G (LLY-AN00)
feat(device) detect new brand QWATT: Q65YK-MG, Q55YK-MB, Q43YK-MB, Q40YF-PB, Q32YH-PB
feat(device) detect brand Novex: NWX-43F149MSY, NWX-24H121WSY, NVX-55U321MSY, NVX-50U329MSY
feat(device) detect brand Vivo: iQOO U3x 5G
feat(device) detect brand Ravoz: Z3 Lite
feat(device) detect brand Qilive: Q4-21 (QT2108BP)
feat(device) detect brand Pixus: Hammer
feat(device) detect brand Walton: Primo EF10
feat(device) detect brand Xiaomi: 13
feat(device) detect brand Huawei: Honor 100 Pro (MAA-AN10)
feat(device) detect brand Hisense: E50 Lite, U31, V40i
feat(device) detect brand OnePlus: Ace 3 (PJE110), 12 (PJD110)
feat(device) detect brand OPPO: Reno 7 SE, Narzo 50A Prime (RMX3517), Reno 7 Pro, Reno 7, Reno 6 Z 5G, Reno 6 Pro 5G, Reno 5 Lite, Reno 5A, Reno 5, Reno 11 Pro (PJJ110), Find X7 (PHZ110), Find X7 Ultra (PHY110)
feat(device) detect brand Vivo: S18 Pro (V2344A), iQOO Neo 9 Pro (V2339A), iQOO Neo 9 (V2338A), iQOO 12 Pro (V2329A), X100 Pro (V2324A), V30 (V2318), X100 (V2309A), iQOO 12 (V2307A), X90s (V2241HA)
  • Loading branch information
sanchezzzhak authored Apr 2, 2024
1 parent f2ec67c commit 048281d
Show file tree
Hide file tree
Showing 7 changed files with 1,675 additions and 39 deletions.
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'A3' => 'AGM',
'AEE' => 'AEEZO',
'J0' => 'AG Mobile',
'AJI' => 'Ajib',
'AZ' => 'Ainol',
'AIR' => 'Airis',
'AI' => 'Airness',
Expand Down Expand Up @@ -1323,6 +1324,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'YQ' => 'QLink',
'QY' => 'Qnet Mobile',
'WJ' => 'Qware',
'QWT' => 'QWATT',
'R2' => 'R-TV',
'RA' => 'Ramos',
'0R' => 'Raspberry',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4225,3 +4225,39 @@
model: Note 40
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; 23129RA5FL Build/TKQ1.221114.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.120 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 122.0.6261.120
engine: Blink
engine_version: 122.0.6261.120
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; 2312DRAABI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.119 Mobile Safari/537.36 OPR/81.2.4292.78581
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 81.2.4292.78581
engine: Blink
engine_version: 122.0.6261.119
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 5G
os_family: Android
browser_family: Opera
110 changes: 109 additions & 1 deletion Tests/fixtures/smartphone-35.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4700,7 +4700,7 @@
device:
type: smartphone
brand: Tecno Mobile
model: Pop 6
model: Pop 7
os_family: Android
browser_family: Unknown
-
Expand Down Expand Up @@ -9273,3 +9273,111 @@
model: T400 3G (2017)
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; M2001J1G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 91.0.4472.101
engine: Blink
engine_version: 91.0.4472.101
device:
type: smartphone
brand: Xiaomi
model: Mi 10 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; LLY-LX2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.119 Mobile Safari/537.36 OPR/81.2.4292.78581
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 81.2.4292.78581
engine: Blink
engine_version: 122.0.6261.119
device:
type: smartphone
brand: Huawei
model: Honor X8b
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 13; LLY-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.119 Mobile Safari/537.36 OPR/81.2.4292.78581
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 81.2.4292.78581
engine: Blink
engine_version: 122.0.6261.119
device:
type: smartphone
brand: Huawei
model: Honor X8b
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 13; LLY-LX3 Build/HONORLLY-L03; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/123.0.6312.40 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 123.0.6312.40
engine: Blink
engine_version: 123.0.6312.40
device:
type: smartphone
brand: Huawei
model: Honor X8b
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; Celero3 5G+ Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/123.0.6312.40 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 123.0.6312.40
engine: Blink
engine_version: 123.0.6312.40
device:
type: smartphone
brand: DISH
model: Celero 3 5G+
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; ZTE Blade L220 Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.120 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Webview
version: 122.0.6261.120
engine: Blink
engine_version: 122.0.6261.120
device:
type: smartphone
brand: ZTE
model: Blade L220
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 048281d

Please sign in to comment.