Skip to content

Conversation

@shivamsupr
Copy link

Opera Mini mobile browser is wrongly detected as Tablet.
is_tablet() internally uses _is_android_tablet() which was detecting "Opera Mini" as Tablet, this is fixed in this pull request.

@selwin
Copy link
Owner

selwin commented Jan 6, 2016

Do you know how we can differentiate between tablet / mobile usage for Opera Mini browsers?

@shivamsupr
Copy link
Author

User Agent String for Opera Mini Mobile/Tablet is same however I can differentiate Opera Mini and Opera Tablet. If you want I'll make that change and update the PR

This Function:

@Property
def is_opera_tablet(self):
if self.browser.family == "Opera Tablet":
return True
return False

@selwin
Copy link
Owner

selwin commented Feb 27, 2016

How do you differentiate between those two if they're the same?

Sent from my phone

On Feb 27, 2016, at 8:06 PM, Shivam Rastogi notifications@github.com wrote:

User Agent String for Opera Mini Mobile/Tablet is same however I can differentiate Opera Mini and Opera Tablet. If you want I'll make that change and update the PR


Reply to this email directly or view it on GitHub.

@forvendettaw
Copy link

How to resolve device resolution

@selwin
Copy link
Owner

selwin commented Apr 28, 2017 via email

@selwin
Copy link
Owner

selwin commented Sep 30, 2019

This PR has been inactive for quite a while. Closing.

@selwin selwin closed this Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants