Skip to content

Commit

Permalink
Adds detection for the HeartFocus Education for iOS (#7974)
Browse files Browse the repository at this point in the history
* Adds detection for the HFEducationIOS app

* applies suggestions about the app name

* add a comment with the link to the ios app

---------

Co-authored-by: virgile dupuis <[email protected]>
  • Loading branch information
virgileMaon and virgile dupuis authored Jan 8, 2025
1 parent 6a21bb0 commit 091821e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/Parser/Client/fixtures/mobile_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2315,3 +2315,9 @@
type: mobile app
name: Edmodo
version: 10.43.5
-
user_agent: HFEducationIOS/1.0.6+g5a01fc39-dirty (iOS; 18.1.1; iPad13,18)
client:
type: mobile app
name: HeartFocus Education
version: 1.0.6
5 changes: 5 additions & 0 deletions regexes/client/mobile_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2628,6 +2628,11 @@
name: 'Edmodo'
version: '$1'

# HeartFocus Education (https://apps.apple.com/us/app/heartfocus-education/id6618151502)
- regex: 'HFEducationIOS/([\d.]+)'
name: 'HeartFocus Education'
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 091821e

Please sign in to comment.