Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect device for exist brands: Xiaomi, Huawie, Vivo, Lenovo #7445

Merged
merged 3 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1543,3 +1543,21 @@
model: Redmi Note 12
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 10; Redmi Note9 Pro Max) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 75.0.3770.100
engine: Blink
engine_version: 75.0.3770.100
device:
type: phablet
brand: Xiaomi
model: Redmi Note 9 Pro Max
os_family: Android
browser_family: Chrome
144 changes: 144 additions & 0 deletions Tests/fixtures/smartphone-37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -485,3 +485,147 @@
model: Redmi 12
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 10; iQOO Neo 3) 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: Vivo
model: iQOO Neo 3
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; Angela-L02B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Opera Mobile
version: 77.0.4054.90
engine: Blink
engine_version: 91.0.4472.101
device:
type: smartphone
brand: Huawei
model: Nova 8
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 13; CRT-AN00; HMSCore 6.11.0.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 HuaweiBrowser/13.0.4.302 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Huawei Browser Mobile
version: 13.0.4.302
engine: Blink
engine_version: 99.0.4844.88
device:
type: smartphone
brand: Huawei
model: Honor X50i
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; HarmonyOS; MNA-AL00; HMSCore 6.11.0.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 HuaweiBrowser/13.0.6.302 Mobile Safari/537.36
os:
name: HarmonyOS
version: ""
platform: ""
client:
type: browser
name: Huawei Browser Mobile
version: 13.0.6.302
engine: Blink
engine_version: 99.0.4844.88
device:
type: smartphone
brand: Huawei
model: P60 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0; Aura Sleek 4G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.48 Mobile Safari/537.36
os:
name: Android
version: "6.0"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 112.0.5615.48
engine: Blink
engine_version: 112.0.5615.48
device:
type: smartphone
brand: Karbonn
model: Aura Sleek 4G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; M1912G7BC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.81 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 72.0.3626.81
engine: Blink
engine_version: 72.0.3626.81
device:
type: smartphone
brand: Xiaomi
model: Redmi K30 4G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; JAD-AL80) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 YaBrowser/23.1.2.92.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.1.2.92.00
engine: Blink
engine_version: 108.0.0.0
device:
type: smartphone
brand: Huawei
model: P50 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; iQOO Neo 5S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 91.0.4472.101
engine: Blink
engine_version: 91.0.4472.101
device:
type: smartphone
brand: Vivo
model: iQOO Neo 5S
os_family: Android
browser_family: Chrome
108 changes: 108 additions & 0 deletions Tests/fixtures/tablet-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -449,3 +449,111 @@
model: ZenPad 3 8.0
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; M40_Plus_ROW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaApp_Android/23.70/apad YaSearchBrowser/23.70/apad 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"
engine: Blink
engine_version: 114.0.0.0
device:
type: tablet
brand: Teclast
model: M40 Plus
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; Tab 15 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 YaBrowser/23.1.5.93.01 Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.1.5.93.01
engine: Blink
engine_version: 108.0.0.0
device:
type: tablet
brand: Blackview
model: Tab 15 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; HarmonyOS; DBR-W09; HMSCore 6.10.2.309) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.1.2.319 Safari/537.36
os:
name: HarmonyOS
version: ""
platform: ""
client:
type: browser
name: Huawei Browser Mobile
version: 12.1.2.319
engine: Blink
engine_version: 92.0.4515.105
device:
type: tablet
brand: Huawei
model: MatePad 11 WiFi
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; TB3-X70L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.118 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 109.0.5414.118
engine: Blink
engine_version: 109.0.5414.118
device:
type: tablet
brand: Lenovo
model: TAB3 10 Plus
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; TB-X605LC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5563.115 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 111.0.5563.115
engine: Blink
engine_version: 111.0.5563.115
device:
type: tablet
brand: Lenovo
model: Tab M10 FHD Rel
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; A7600-H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Mobile Safari/537.36
os:
name: Android
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome Mobile
version: 72.0.3626.96
engine: Blink
engine_version: 72.0.3626.96
device:
type: tablet
brand: Lenovo
model: IdeaTab A10-70
os_family: Android
browser_family: Chrome
Loading
Loading