Skip to content
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

Missing mobile device families #80

Conversation

emmettbutler
Copy link
Contributor

@emmettbutler emmettbutler commented Jun 21, 2017

This pull request adds to MOBILE_DEVICE_FAMILIES a large number of device families that the parser incorrectly identifies as is_mobile() == False. These device families are all mobile phones.

These device family names were found by running the parser against a Parse.ly internal dataset of user agents the parser had incorrectly identified as tablets, found by @UdayVarkhedkar.

Fixes #73

these device family names were found by running the parser against a Parse.ly internal dataset of user agents the parser had incorrectly identified as mobile.

fixes selwin#73
@selwin
Copy link
Owner

selwin commented Jul 17, 2017

Thanks for the PR. This library doesn't aim to hardcode every single device families available because that's not a scalable approach but rather look for heuristics.

May I know which movile devices that are currently not properly detected?

@selwin selwin closed this Jul 17, 2017
@emmettbutler
Copy link
Contributor Author

@selwin Thanks for being in touch. This PR was just meant to start a discussion, since there are a fair number of mobile devices being incorrectly identified as tablets. The list given here is comprehensive as far as we're concerned at Parse.ly. If you'd like to work together on a way to support these devices heuristically rather than explicitly, I'd be happy to help out.

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

Successfully merging this pull request may close these issues.

2 participants