Skip to content

Commit

Permalink
Adds detection for various devices (#7178)
Browse files Browse the repository at this point in the history
* Adds detection for Logic L4T
* Adds detection for Mastertech QC77QPS
* Adds detection for Acer ACTAB821 and ACTAB1021
* Adds detection for Athesi brand and Athesi AP5705S
* Adds detection for Hi HMR5450
* Adds detection for Remdun RD16Q
* Adds detection for MobiWire Smart N11 and Smart N12
* Adds detection for MobiWire Smart C11
* Adds detection for STG Telecom P10
* Adds detection for Mediacom SmartPad iyo 8"
* Adds detection for Sky Elite Octa XS
* Adds detection for Sky Elite OctaPlus
* Adds detection for Essentielb HEYou 70
  • Loading branch information
liviuconcioiu authored Jul 12, 2022
1 parent 3c58460 commit fbc7e04
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 18 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'A8' => 'Assistant',
'AU' => 'Asus',
'6A' => 'AT&T',
'ATH' => 'Athesi',
'5Q' => 'Atmaca Elektronik',
'YH' => 'ATMAN',
'2A' => 'Atom',
Expand Down
162 changes: 162 additions & 0 deletions Tests/fixtures/smartphone-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8973,3 +8973,165 @@
model: Trooper X3.5
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 10; LOGIC L4T Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/81.0.4044.138 Mobile Safari/537.36 OPR/60.0.2254.59400
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Opera Mobile
version: 60.0.2254.59400
engine: Blink
engine_version: 81.0.4044.138
device:
type: smartphone
brand: Logic
model: L4T
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 10; AP5705S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.104
engine: Blink
engine_version: 96.0.4664.104
device:
type: smartphone
brand: Athesi
model: AP5705S
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; HMR5450) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 79.0.3945.116
engine: Blink
engine_version: 79.0.3945.116
device:
type: smartphone
brand: Hi
model: HMR5450
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; RD16Q) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Samsung Browser
version: "17.0"
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Remdun
model: RD16Q
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; SmartN12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 100.0.4896.127
engine: Blink
engine_version: 100.0.4896.127
device:
type: smartphone
brand: MobiWire
model: Smart N12
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; SmartN11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 102.0.0.0
engine: Blink
engine_version: 102.0.0.0
device:
type: smartphone
brand: MobiWire
model: Smart N11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; Smart C11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 99.0.4844.73
engine: Blink
engine_version: 99.0.4844.73
device:
type: smartphone
brand: MobiWire
model: Smart C11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; STG_P10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 93.0.4577.62
engine: Blink
engine_version: 93.0.4577.62
device:
type: smartphone
brand: STG Telecom
model: P10
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; HEYOU70) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 99.0.4844.73
engine: Blink
engine_version: 99.0.4844.73
device:
type: smartphone
brand: Essentielb
model: HEYou 70
os_family: Android
browser_family: Chrome
108 changes: 108 additions & 0 deletions Tests/fixtures/tablet-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6422,3 +6422,111 @@
model: PIXBA2019
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1; QC77QPS Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36
os:
name: Android
version: "8.1"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 64.0.3282.137
engine: Blink
engine_version: 64.0.3282.137
device:
type: tablet
brand: Mastertech
model: QC77QPS
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; ACTAB821) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome
version: 99.0.4844.88
engine: Blink
engine_version: 99.0.4844.88
device:
type: tablet
brand: Acer
model: ACTAB821
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; ACTAB1021_A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome
version: 99.0.4844.58
engine: Blink
engine_version: 99.0.4844.58
device:
type: tablet
brand: Acer
model: ACTAB1021
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; 8DY) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome
version: 102.0.0.0
engine: Blink
engine_version: 102.0.0.0
device:
type: tablet
brand: Mediacom
model: SmartPad iyo 8"
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; Elite_OctaXS) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome
version: 101.0.0.0
engine: Blink
engine_version: 101.0.0.0
device:
type: tablet
brand: Sky
model: Elite Octa XS
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; ELITE_Octaplus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome
version: 102.0.5005.78
engine: Blink
engine_version: 102.0.5005.78
device:
type: tablet
brand: Sky
model: Elite OctaPlus
os_family: Android
browser_family: Chrome
Loading

0 comments on commit fbc7e04

Please sign in to comment.