Skip to content

Providing detection of iOS 10 and 11 #5789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

wronan
Copy link

@wronan wronan commented Aug 28, 2018

Sorry for the wildcards in minor version checks - I wasn't able to figure out specific versions. Still, better then nothing :)

@sgiehl
Copy link
Member

sgiehl commented Aug 28, 2018

Thanks for the PR. Do you have sample useragents for those versions, so we could add some tests?

@wronan
Copy link
Author

wronan commented Aug 28, 2018

Oh man... sorry. I've checked some random commits updating the regexes and haven't found any tests - so I thought that you don't test all minor rules updates like this one. I may update the tests if you like.
Anyway, of you want to check it by yourself here you have a user-agent for iOS 10.3

SomeRandomApp/32123 CFNetwork/811.5.4 Darwin/16.7.0

@sgiehl
Copy link
Member

sgiehl commented Aug 31, 2018

@wronan Thanks again for your approach. I've copied and improved your changes to a new branch, where I've also added some tests. Will create a PR soon and merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants