Skip to content

Commit

Permalink
feat(device) detect brand Jinga model: Hotz M1
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Oct 4, 2020
1 parent 9a04d10 commit 02cafa4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
22 changes: 21 additions & 1 deletion Tests/fixtures/smartphone-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1098,4 +1098,24 @@
brand: I5
model: Halo X LTE
os_family: Android
browser_family: Chrome
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1; Hotz_M1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1"
platform: ""
client:
type: browser
name: Chrome Mobile
short_name: CM
version: 78.0.3904.108
engine: Blink
engine_version: ""
device:
type: smartphone
brand: JG
model: Hotz M1
os_family: Android
browser_family: Chrome
10 changes: 6 additions & 4 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6762,15 +6762,15 @@ InFocus:

# InnJoo
InnJoo:
regex: 'InnJoo|(?:Halo Plus|Halo[ _]4([ _]mini[ _]LTE)?||Halo2 3G)[);/ ]'
regex: 'InnJoo|(?:Halo Plus|Halo X|Halo[ _]4(?:[ _]mini[ _]LTE)?|Halo2 3G)[);/ ]'
device: 'smartphone'
models:
- regex: 'InnJoo[ _]X3[);/ ]'
model: 'X3'
- regex: 'InnJoo[ _]X[);/ ]'
model: 'X'
- regex: 'Halo[ _]X[ _]LTE[);/ ]'
model: 'Halo X LTE'
- regex: 'InnJoo[ _]X[);/ ]'
model: 'X'
- regex: 'Halo Plus[);/ ]'
model: 'Halo Plus'
- regex: 'Halo[ _]4[ _]mini[ _]LTE[);/ ]'
Expand Down Expand Up @@ -16735,11 +16735,13 @@ TurboKids:

# Jinga
Jinga:
regex: 'Jinga[-_ ]|(?:Optim4G|PassPlus)[);/ ]'
regex: 'Jinga[-_ ]|(?:Optim4G|PassPlus|Hotz[_ ]M1)[);/ ]'
device: 'smartphone'
models:
- regex: 'Optim4G[);/ ]'
model: 'Optim 4G'
- regex: 'Hotz[_ ]M1[);/ ]'
model: 'Hotz M1'
- regex: 'PassPlus[);/ ]'
model: 'Pass Plus'
- regex: 'Jinga Iron[);/ ]'
Expand Down

0 comments on commit 02cafa4

Please sign in to comment.