Skip to content

Commit

Permalink
feat(client) detect mobile apps: Klara, Edmodo
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Dec 3, 2024
1 parent f966c5a commit ffe2411
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Tests/Parser/Client/fixtures/mobile_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,15 @@
type: mobile app
name: TownNews Now
version: "4.0"
-
user_agent: Klara/1 CFNetwork/1128.0.1 Darwin/19.6.0
client:
type: mobile app
name: Klara
version: ""
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 11; SM-A725M Build/RP1A.200720.012) EdmodoAndroid/10.43.5(69a222)
client:
type: mobile app
name: Edmodo
version: 10.43.5
8 changes: 8 additions & 0 deletions regexes/client/mobile_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2620,6 +2620,14 @@
name: 'TownNews Now'
version: '$1'

- regex: '^Klara/'
name: 'Klara'
version: ''

- regex: 'EdmodoAndroid/([\d.]+)'
name: 'Edmodo'
version: '$1'

# Electron generic apps
- regex: ' (?!(?:AppleWebKit|brave|Cypress|Franz|Mailspring|Notion|Basecamp|Evernote|catalyst|ramboxpro|BlueMail|BeakerBrowser|Dezor|TweakStyle|Colibri|Polypane|Singlebox|Skye|VibeMate|(?:d|LT|Glass|Sushi|Flash|OhHai)Browser|Sizzy))([a-z0-9]*)(?:-desktop|-electron-app)?/(\d+\.[\d.]+).*Electron/'
name: '$1'
Expand Down

0 comments on commit ffe2411

Please sign in to comment.