Skip to content

Commit

Permalink
Improves detection for Orange devices
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 29, 2024
1 parent 2659d73 commit d3de0bb
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
36 changes: 36 additions & 0 deletions Tests/fixtures/feature_phone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3154,3 +3154,39 @@
model: K301
os_family: Firefox OS
browser_family: Firefox
-
user_agent: Mozilla/5.0 (Mobile;Orange_Nevalink;rv:48.0; CAEN) Gecko/48.0 Firefox/48.0 KAIOS/2.5.2
os:
name: KaiOS
version: 2.5.2
platform: ""
client:
type: browser
name: Firefox Mobile
version: "48.0"
engine: Gecko
engine_version: "48.0"
device:
type: feature phone
brand: Orange
model: Neva Link
os_family: Firefox OS
browser_family: Firefox
-
user_agent: Mozilla/5.0 (Mobile;Orange_Nevamini;rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5.2.1
os:
name: KaiOS
version: 2.5.2.1
platform: ""
client:
type: browser
name: Firefox Mobile
version: "48.0"
engine: Gecko
engine_version: "48.0"
device:
type: feature phone
brand: Orange
model: Neva Mini
os_family: Firefox OS
browser_family: Firefox
6 changes: 5 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20970,7 +20970,7 @@ OPPO:

# orange
Orange:
regex: 'SPV[ -]?([a-z0-9]+)|(?<!FBCR/)Orange[ _-](?!Tahiti-LS\))([^/;]+)( Build|\))(?<!Tahiti-LS\))|SC/IHD92|Nura 2|FunTab ([^/;]+) Build|Orange Mahpee|Dive 50|MouveTab7WIFI|(?:Sanza-)?M56[02]F3(?:[);/ ]|$)'
regex: 'SPV[ -]?([a-z0-9]+)|(?<!FBCR/)Orange[ _-](?!Tahiti-LS\))([^/;]+)( Build|\))(?<!Tahiti-LS\))|SC/IHD92|Nura 2|FunTab ([^/;]+) Build|Orange[ _](?:Mahpee|Nevalink|Nevamini)|Dive 50|MouveTab7WIFI|(?:Sanza-)?M56[02]F3(?:[);/ ]|$)'
device: 'smartphone'
models:
- regex: 'SC/IHD92'
Expand All @@ -20979,6 +20979,10 @@ Orange:
- regex: 'Orange TV Box(?:[);/ ]|$)'
device: 'tv'
model: 'TV Box'
- regex: 'Orange_Nevalink(?:[);/ ]|$)'
model: 'Neva Link'
- regex: 'Orange_Nevamini(?:[);/ ]|$)'
model: 'Neva Mini'
- regex: 'Nola play'
model: 'Nola Play'
- regex: 'Nola fun'
Expand Down

0 comments on commit d3de0bb

Please sign in to comment.