Skip to content

Commit

Permalink
Detect devices for exists brands: Realme, Dcode, OPPO, Vivo, Huawei, …
Browse files Browse the repository at this point in the history
…Tecno Mobile, OnePlus, F+ (#7461)

* feat: detect device brand Tecno Mobile: Pova Neo 3 (TECNO LH6n), Pop 7 Pro (TECNO BF7h), Spark Go (2023)
feat: detect device brand Realme: 10s (RMX3617)
feat: detect device brand Dcode: X1
feat: detect device brand Vivo: Y27 (V2249)
feat: detect device brand Blackview: BV5300 Pro
feat: detect device brand Pritom: P7
feat: detect device brand GoldMaster: i-910

* feat: detect device brand OnePlus: Nord 3 5G (CPH2493)
feat: detect device brand Realme: C53 (RMX3760)
feat: detect device brand Xiaomi: Redmi 12 5G (23076RN4BI)
feat: detect device brand F+: SP65 (SP65_66440)
feat: detect device brand OPPO: Find X6 (PGFM10)
feat: detect device brand Hisense: A9 (HLTE556N)
feat: detect device brand Huawei: Honor X5 Plus (WOD-LX1), Honor 90 Pro (REP-AN00)

* feat: detect device brand Vivo: T2x 5G (V2253)
feat: detect device brand OPPO: A58 (CPH2577)
feat: detect device brand DEXP: U50F8000QG
feat: detect device brand Erisson: 32LEA73T2SM

* feat: detect device brand iTel: A60s (A662LM)
feat: detect device brand TCL: Tab 11 LTE (9166G)
feat: detect device brand Digma: Kids 1210B (WS1262RW)
feat: detect device brand Starwind: SW-LED50UB401
feat: detect device brand Vekta: LD-50SU8921BS

---------

Co-authored-by: Stefan Giehl <[email protected]>
  • Loading branch information
sanchezzzhak and sgiehl authored Sep 1, 2023
1 parent f8ee209 commit 2551684
Show file tree
Hide file tree
Showing 5 changed files with 634 additions and 20 deletions.
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1561,3 +1561,21 @@
model: Redmi Note 9 Pro Max
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; TECNO LH6n) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.73.1 BroPP/1.0 YaSearchApp/23.73.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.73.1
engine: Blink
engine_version: 114.0.0.0
device:
type: phablet
brand: Tecno Mobile
model: Pova Neo 3
os_family: Android
browser_family: Unknown
374 changes: 374 additions & 0 deletions Tests/fixtures/smartphone-37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -899,3 +899,377 @@
model: Solid-4 G1
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 12; ru-ru; RMX3617 Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.61 Mobile Safari/537.36 HeyTapBrowser/40.7.37.9
os:
name: Android
version: "12"
platform: ""
client:
type: mobile app
name: HeyTapBrowser
version: 40.7.37.9
device:
type: smartphone
brand: Realme
model: 10s
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; DS-X1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 108.0.0.0
engine: Blink
engine_version: 108.0.0.0
device:
type: smartphone
brand: Dcode
model: X1
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm; Android 12; TECNO BF7h) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaApp_Android/23.70.1 YaSearchBrowser/23.70.1 BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.70.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Tecno Mobile
model: Pop 7 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; TECNO Mobile BF7n Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Webview
version: 105.0.5195.136
engine: Blink
engine_version: 105.0.5195.136
device:
type: smartphone
brand: Tecno Mobile
model: Spark Go (2023)
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; V2249) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 104.0.0.0
engine: Blink
engine_version: 104.0.0.0
device:
type: smartphone
brand: Vivo
model: Y27
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; BV5300 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.75.1 BroPP/1.0 YaSearchApp/23.75.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.75.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Blackview
model: BV5300 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; CPH2493) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.5.95.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.7.5.95.00
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: OnePlus
model: Nord 3 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; RMX3760) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.77.1 BroPP/1.0 YaSearchApp/23.77.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.77.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Realme
model: C53
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-US; 23076RN4BI Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.0.1306 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: UC Browser
version: 13.4.0.1306
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Xiaomi
model: Redmi 12 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; SP65_66440) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.5.95.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.7.5.95.00
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: F+
model: SP65
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; PGFM10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.75.1 BroPP/1.0 YaSearchApp/23.75.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.75.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: OPPO
model: Find X6
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; HLTE556N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.215 Mobile Safari/537.36 OPR/73.3.3844.70500
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Opera Mobile
version: 73.3.3844.70500
engine: Blink
engine_version: 108.0.5359.215
device:
type: smartphone
brand: Hisense
model: A9
os_family: Android
browser_family: Opera
-
user_agent: 'Mozilla/5.0 (Linux; Android 13; WOD-LX1 Build/HONORWDY-L41; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/111.0.5563.116 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/429.0.0.27.114;]'
os:
name: Android
version: "13"
platform: ""
client:
type: mobile app
name: Facebook
version: 429.0.0.27.114
device:
type: smartphone
brand: Huawei
model: Honor X5 Plus
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; REP-AN00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.5.97.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.7.5.97.00
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Huawei
model: Honor 90 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; V2253) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 104.0.0.0
engine: Blink
engine_version: 104.0.0.0
device:
type: smartphone
brand: Vivo
model: T2x 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; CPH2577) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaApp_Android/23.74.1 YaSearchBrowser/23.74.1 BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.74.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: OPPO
model: A58
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; motorola edge 40 pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 104.0.0.0
engine: Blink
engine_version: 104.0.0.0
device:
type: smartphone
brand: Motorola
model: Edge 40 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm; Android 12; itel A662LM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.5.95.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.7.5.95.00
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: iTel
model: A60s
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; WDY-LX1 Build/HONORWDY-L31; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 115.0.5790.166
engine: Blink
engine_version: 115.0.5790.166
device:
type: smartphone
brand: Huawei
model: Honor X6a
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; FOA-LX9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaApp_Android/23.74.1 YaSearchBrowser/23.74.1 BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.74.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Huawei
model: Nova 11
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 12; SA50_21620) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.75.1 BroPP/1.0 YaSearchApp/23.75.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.75.1
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: F+
model: SA50
os_family: Android
browser_family: Unknown
Loading

0 comments on commit 2551684

Please sign in to comment.