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

iPad detection not working #211

Open
pquerner opened this issue Nov 24, 2023 · 1 comment
Open

iPad detection not working #211

pquerner opened this issue Nov 24, 2023 · 1 comment

Comments

@pquerner
Copy link

UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

Output from the demo site (browser-detect.com):

isMobile => no
isTablet => no
isDesktop => yes

All other details such as Platform Name being Mac 10.15.7 and Platform Version (and Safari Version) seem correct.

@hisorange
Copy link
Owner

Sadly as you see in the UA there is no reference to the device's form.
If it would say iPad OS then we could figure out that it is a tablet, but the UA is wildly random and the libs do their best to guess.

But the above mentioned UA could come from a MacBook too :/

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

No branches or pull requests

2 participants