Skip to content

Commit

Permalink
Detect new brand AirTouch and Detect devices for exist brands (#7645)
Browse files Browse the repository at this point in the history
* feat(device) detect new brand AirTouch: Performance 10x
feat(device) detect brand Fujitsu: LifeBook AH532
feat(device) detect brand Huawei: Honor Magic 2 3D, Nova 6 SE, Honor Play 8A
feat(device) detect brand Samsung: Galaxy A15 5G (SM-A156B)
feat(device) detect brand POCO: X6 Pro 5G (2311DRK48G)
feat(device) detect brand Blackview: Shark 8
feat(device) detect brand Ulefone: Armor Pad Lite
feat(device) detect brand Xiaomi: Redmi Note 13 5G (2312DRAABG), Redmi Note 13 Pro (23117RA68G), Redmi 3 (23129RN51X)

* feat(device) detect brand Xiaomi: Redmi Note 13 (23124RA7EO), Redmi Note 13 Pro 5G (2312DRA50G), Redmi Note 13 (23129RAA4G), Redmi 8 (MZB8257IN)
feat(device) detect brand Realme: Note 50 (RMX3834), C53 (RMX3762)
feat(device) detect brand CUBOT: King Kong 8
feat(device) detect brand OSCAL: Tiger 10
feat(device) detect brand AT&T: Motivate 4 (SL112A)
feat(device) detect brand Cricket: Icon 5 (SL112C)
feat(device) detect brand Walton: Xanon X20
feat(device) detect brand NEXON: X10
feat(device) detect brand OPPO: A2x 5G (PJS110), Find N3 (PHN110)

* feat(device) detect brand Xiaomi: Redmi Note 13 Pro 5G (2312DRA50I), Redmi 13C (2311DRN14I), 14 Ultra (24031PN0DC), 14 (23127PN0CG), Redmi K70 Pro (23117RK66C)
feat(device) detect brand OMIX: X5
feat(device) detect brand Google: Pixel Tablet
feat(device) detect brand Asus: ROG Phone 8 (AI2401)
feat(device) detect brand Realme: 8, GT 5 Pro (RMX3888), 12 Pro 5G (RMX3842), 12 Pro+ 5G (RMX3840), GT Neo 5 SE (RMX3701)
feat(device) detect brand Huawei: Mate 40E Pro 5G (NOH-AN80), Honor Magic 5 (PGT-N09)
feat(device) detect brand Lava: Z33 (LEX402)
feat(device) detect brand Moxee: MT-T8B22
feat(device) detect brand Thomson: TEO8M, TEO10M
feat(device) detect brand T-Mobile: REVVL 6x Pro 5G (TMRV06P5G)
feat(device) detect brand LT Mobile: M50 (LT_9701)
feat(device) detect brand Oukitel: WP32, WP30 Pro, WP33 Pro, WP19 Pro
feat(device) detect brand POCO: X6 5G (23122PCD1G), C65

---------

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
sanchezzzhak and liviuconcioiu authored Mar 28, 2024
1 parent cd9344d commit d20103a
Show file tree
Hide file tree
Showing 8 changed files with 1,097 additions and 38 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ARP' => 'Airpha',
'AT' => 'Airties',
'7U' => 'Airtel',
'AIT' => 'AirTouch',
'U0' => 'AIRON',
'0A' => 'AIS',
'AW' => 'Aiwa',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -989,3 +989,21 @@
model: Wagoneer
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 10; AirTouch PERFORMANCE 10x) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.533 YaSearchBrowser/24.17/apad BroPP/1.0 YaSearchApp/24.17/apad webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "24.17"
engine: Blink
engine_version: 120.0.6099.533
device:
type: car browser
brand: AirTouch
model: Performance 10x
os_family: Android
browser_family: Unknown
18 changes: 18 additions & 0 deletions Tests/fixtures/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9747,3 +9747,21 @@
model: ""
os_family: GNU/Linux
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.1.1; LIFEBOOK AH532) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Safari/537.36
os:
name: Android
version: 7.1.1
platform: ""
client:
type: browser
name: Chrome
version: 75.0.3770.101
engine: Blink
engine_version: 75.0.3770.101
device:
type: desktop
brand: Fujitsu
model: LifeBook AH532
os_family: Android
browser_family: Chrome
106 changes: 106 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3993,3 +3993,109 @@
model: iPhone SE (2020)
os_family: iOS
browser_family: Safari
-
user_agent: Mozilla/5.0 (Linux; Android 13; 2312DRAABG Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.119 Mobile Safari/537.36 TwitterAndroid
os:
name: Android
version: "13"
platform: ""
client:
type: mobile app
name: Twitter
version: ""
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; 23117RA68G Build/TP1A.220624.014) 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 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; ru-ru; 23124RA7EO Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.128 Mobile Safari/537.36 XiaoMi/Mint Browser/3.9.3
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Mint Browser
version: 3.9.3
engine: Blink
engine_version: 61.0.3163.128
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; 2312DRA50G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.94 YaBrowser/24.1.8.94.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.1.8.94.00
engine: Blink
engine_version: 120.0.6099.94
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 Pro 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; 23129RAA4G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.56 YaBrowser/24.1.9.56.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.1.9.56.00
engine: Blink
engine_version: 120.0.6099.56
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-US; 2312DRA50I Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.6.8.1318 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: UC Browser
version: 13.6.8.1318
engine: Blink
engine_version: 100.0.4896.58
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 Pro 5G
os_family: Android
browser_family: Unknown
Loading

0 comments on commit d20103a

Please sign in to comment.