Skip to content

Commit

Permalink
Improves version detection for iOS (#7824)
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu authored Sep 13, 2024
1 parent c6930df commit d3fc911
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5206,3 +5206,11 @@
version: 15.4.1
platform: ""
family: iOS
-
user_agent: AlMosafer/iPhone/17.0.3/8.10.0/1094/BDD0D3CE-EA37-4825-9E01-D26E91F38570/iPhone
os:
name: iOS
short_name: IOS
version: 17.0.3
platform: ""
family: iOS
2 changes: 1 addition & 1 deletion regexes/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@
- regex: 'CFNetwork/459'
version: '3.1'

- regex: '(?:iPhone|iPod_touch)/(\d+[\.\d]*) hw/'
- regex: '(?:iPhone|iPod_touch)/(\d+[\.\d]*)(?: hw)?/'
name: 'iOS'
version: '$1'

Expand Down

0 comments on commit d3fc911

Please sign in to comment.