Skip to content

Commit

Permalink
Detect new brands: ArtLine, BDQ, TuCEL and Detect devices for existin…
Browse files Browse the repository at this point in the history
…g brands: BBK, Divisat, Digma, Asano, Leff, Odys, Symphony, RT Project, Polaroid, Prestigio (#6960)

* feat(device) detect new brand ArtLine: KMX3
feat(device) detect brand BBK: 50LEX-8173/UTS2C, 55LEX-8161/UTS2C, 55LEX-8162/UTS2C, 55LEX-8174/UTS2C
feat(device) detect brand Divisat: X-Media, X3
feat(device) detect brand Digma: DM-LED43SR23, DM-LED24SR20
feat(device) detect brand Asano: 28LH7011T 28.0", 32LH7010T 32.0"
feat(device) detect brand Leff: 32H520T

feat(device) added test for brand TrekStor: SurfTab B10

* feat(device) detect new brand BDQ: Destiny, Smart B19
feat(device) detect new brand TuCEL: TL554B, TC504B
feat(device) detect brand Odys: Titan 10 LTE
feat(device) detect brand Symphony: V141
feat(device) detect brand RT Project: Shock 5.5

* feat(device) detect brand Sky: Prestige
feat(device) detect brand Polaroid: Cosmo C6 (PSPCL30A0)
feat(device) detect brand Prestigio: Muze H5 LTE (PSP5523DUO), Wize V3 (PSP3513DUO_RU),
 Grace 7781 4G, Muze 4667 3G, Wize 4667 3G, Wize 4638 3G, Grace 4327 3G, Wize 4311 3G,
 Wize 4137 4G, Wize 4131 4G, Wize 4118 3G, Wize 4117 3G, Wize 4117 3G, Wize 4111 3G,
 Grace 3878 4G, Muze 3871 4G, Muze 3861 4G, Grace 3848 4G, Muze 3831 4G, Wize 3771 3G,
 Grace 3768 3G

* fix: tests
  • Loading branch information
sanchezzzhak authored Jan 11, 2022
1 parent b8880e5 commit 4f8b69f
Show file tree
Hide file tree
Showing 5 changed files with 849 additions and 17 deletions.
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AQ' => 'Aspera',
'40' => 'Artel',
'21' => 'Artizlee',
'59' => 'ArtLine',
'8A' => 'Asano',
'90' => 'Asanzo',
'1U' => 'Astro',
Expand All @@ -174,6 +175,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'BB' => 'BBK',
'0B' => 'BB Mobile',
'B6' => 'BDF',
'QD' => 'BDQ',
'BE' => 'Becker',
'B5' => 'Beeline',
'B0' => 'Beelink',
Expand Down Expand Up @@ -1096,6 +1098,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'5X' => 'TurboPad',
'5T' => 'TurboKids',
'UR' => 'Turkcell',
'4U' => 'TuCEL',
'2U' => 'Türk Telekom',
'TV' => 'TVC',
'TW' => 'TWM',
Expand Down
180 changes: 180 additions & 0 deletions Tests/fixtures/smartphone-28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5771,3 +5771,183 @@
model: A11k
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; UltraJ8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 89.0.4389.105
engine: Blink
engine_version: ""
device:
type: smartphone
brand: FiGO
model: Ultra J8
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; V141) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.45
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Symphony
model: V141
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SMART_B19) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 94.0.4606.71
engine: Blink
engine_version: ""
device:
type: smartphone
brand: BDQ
model: Smart B19
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SHOCK5.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.92
engine: Blink
engine_version: ""
device:
type: smartphone
brand: RT Project
model: Shock 5.5
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; TL554B Build/O11019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.115 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Webview
version: 92.0.4515.115
engine: Blink
engine_version: ""
device:
type: smartphone
brand: TuCEL
model: TL554B
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; TC504B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 74.0.3729.136
engine: Blink
engine_version: ""
device:
type: smartphone
brand: TuCEL
model: TC504B
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SKY Prestige) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.45
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Sky
model: Prestige
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; PSPCL30A0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.92
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Polaroid
model: Cosmo C6
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; PSP5523DUO) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.104
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Prestigio
model: Muze H5 LTE
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; PSP3513DUO_RU) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.92
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Prestigio
model: Wize V3
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 4f8b69f

Please sign in to comment.