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

iPads are detected as desktop devices #288

Open
zbigniewkuminski opened this issue Mar 11, 2024 · 3 comments
Open

iPads are detected as desktop devices #288

zbigniewkuminski opened this issue Mar 11, 2024 · 3 comments

Comments

@zbigniewkuminski
Copy link

zbigniewkuminski commented Mar 11, 2024

Describe the bug
iPads are detected as desktop devices

To Reproduce
Steps to reproduce the behavior:

  1. Open your app with developer tool mode.
  2. Toggle device to emulate mobile version.
  3. Select iPad Air or iPad Pro mode.
  4. Function isDesktop() returns true

Expected behavior
Function isDesktop() should return false

Desktop (please complete the following information):

  • OS: Windows
  • Browser: chrome
  • Version 122
@nagarajhubli
Copy link

By default Safari on iPad requests desktop version of website. If we disable this, then it sends proper iPad user agent

https://forums.developer.apple.com/forums/thread/119186?answerId=373517022#373517022

@empro-narendervaddepelly

This is still an Issue. Any luck?

@hijamoya
Copy link

hijamoya commented Oct 12, 2024

Do we have any chance to detect iPad as a mobile device?

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

4 participants