Skip to content

Commit b646ab7

Browse files
committed
Improves detection for Philips devices
ref matomo-org#7882
1 parent 0d237d2 commit b646ab7

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

Tests/fixtures/peripheral.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,3 +1648,21 @@
16481648
model: Xming
16491649
os_family: Android
16501650
browser_family: Chrome
1651+
-
1652+
user_agent: Mozilla/5.0 (Linux; Android 11; SCN550 Build/RTM6.230109.257; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.102 Mobile Safari/537.36
1653+
os:
1654+
name: Android
1655+
version: "11"
1656+
platform: ""
1657+
client:
1658+
type: browser
1659+
name: Chrome Webview
1660+
version: 129.0.6668.102
1661+
engine: Blink
1662+
engine_version: 129.0.6668.102
1663+
device:
1664+
type: peripheral
1665+
brand: Philips
1666+
model: Screeneo U5
1667+
os_family: Android
1668+
browser_family: Chrome

regexes/device/mobiles.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36549,7 +36549,7 @@ Master-G:
3654936549

3655036550
# philips
3655136551
Philips:
36552-
regex: 'Philips|NETTV/|2020/2021 UHD Android|10BDL4151T|Xenium S[25]66|(?:NeoViu D1|PI3210G|TPM1[79]1E|70PUH6774_96|QM152E|QM16[134]E|TLE(?:821L|722G)|AND1E|S397|W5510|S410J)(?:[);/ ]|$)'
36552+
regex: 'Philips|NETTV/|2020/2021 UHD Android|10BDL4151T|Xenium S[25]66|(?:NeoViu D1|PI3210G|TPM1[79]1E|70PUH6774_96|QM152E|QM16[134]E|TLE(?:821L|722G)|AND1E|S397|W5510|S410J|SCN550)(?:[);/ ]|$)'
3655336553
device: 'smartphone'
3655436554
models:
3655536555
- regex: 'Philips;([a-z0-9_ \-/]+);'
@@ -36614,6 +36614,10 @@ Philips:
3661436614
- regex: 'NeoViu D1'
3661536615
device: 'peripheral'
3661636616
model: 'NeoViu D1'
36617+
- regex: 'SCN550'
36618+
device: 'peripheral'
36619+
model: 'Screeneo U5'
36620+
3661736621
# general detection
3661836622
- regex: 'Philips[ _-]?([a-z0-9\-@]+)'
3661936623
model: '$1'

0 commit comments

Comments
 (0)