Skip to content

Commit

Permalink
Merge pull request #6774 from liviuconcioiu/ios
Browse files Browse the repository at this point in the history
Improves version detection for iOS
  • Loading branch information
sanchezzzhak committed Jun 13, 2021
2 parents ee36b8f + 1fbc386 commit 6d2015e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Expand Up @@ -2022,3 +2022,17 @@
short_name: IOS
version: "14.6"
platform: ""
-
user_agent: Podcasts/1570.6 CFNetwork/1240.0.4 Darwin/20.6.0
os:
name: iOS
short_name: IOS
version: "14.7"
platform: ""
-
user_agent: MobileSafari/604.1 CFNetwork/1286 Darwin/21.0.0
os:
name: iOS
short_name: IOS
version: "15.0"
platform: ""
8 changes: 8 additions & 0 deletions regexes/oss.yml
Expand Up @@ -427,6 +427,14 @@
name: 'iOS'
version: '$1'

- regex: 'CFNetwork/.+ Darwin/21.0.0(?!.*x86_64)'
name: 'iOS'
version: '15.0'

- regex: 'CFNetwork/.+ Darwin/20.6.0(?!.*x86_64)'
name: 'iOS'
version: '14.7'

- regex: 'CFNetwork/.+ Darwin/20.5.0(?!.*x86_64)'
name: 'iOS'
version: '14.6'
Expand Down

0 comments on commit 6d2015e

Please sign in to comment.