Skip to content

Added some Android devices #5747

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

Merged
merged 24 commits into from
Jun 24, 2018
Merged

Added some Android devices #5747

merged 24 commits into from
Jun 24, 2018

Conversation

GregOriol
Copy link
Contributor

No description provided.

model: 'GALAXY Grand 2'
device: 'phablet'
- regex: '(?:SAMSUNG-)?SM-G53(?:0F|0FZ|0Y|0H|0FZ|1F|1H)'
model: 'GALAXY Grand Prime'
device: 'phablet'
- regex: '(?:SAMSUNG-)?SM-G532F'
model: 'GALAXY Grand Prime Plus'
model: 'GALAXY J2 Prime/Grand Prime Plus'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should decide to use only one name here. Maybe the more familiar / common name if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't disagree, but I could not decide as both "Grand Prime" and "J2" exist as other variants, and I don't know if one of these two is more popular.

- regex: '(?:SAMSUNG-)?SM-J730(?:F|G|GM)'
model: 'GALAXY J7 Pro'
- regex: '(?:SAMSUNG-)?SM-J701(?:F|M)'
model: 'GALAXY J7 Nxt/Neo/Core'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would use one of the names only here as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the other comment: I don't disagree, but don't know which one could be best...
The names for this one seem to be different by region:

  • Nxt in India
  • Neo in LATAM
  • Core in Philippines

@GregOriol
Copy link
Contributor Author

@sgiehl So, what would you suggest regarding your comments?

@sgiehl
Copy link
Member

sgiehl commented Jun 17, 2018

@GregOriol sorry for the delay. To be honest I'm not sure how to handle that best. But using multiple names might be a bit long. Maybe we could use the model name having most google results?

GregOriol added a commit to GregOriol/device-detector that referenced this pull request Jun 23, 2018
@GregOriol
Copy link
Contributor Author

Names simplified using Google results, I left the alternatives as comments in the yaml, so we can remember/find them later if trends change.

model: 'V20'
- regex: '(?:LG-)?LS997'
model: 'V20'
- regex: '(?:LG-)?VS995'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one seems to be a duplication.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer to regroup them into a single regex?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's not necessarily needed. but this specific regex is already done some lines before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, indeed!

@sgiehl sgiehl merged commit 229e0fd into matomo-org:master Jun 24, 2018
thinkwelltwd added a commit to thinkwelltwd/device_detector that referenced this pull request Jun 29, 2018
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