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

The ajent package cannot correctly distinguish between iPad and desktop #205

Open
msd0s opened this issue Jun 26, 2023 · 1 comment
Open

Comments

@msd0s
Copy link

msd0s commented Jun 26, 2023

hi.
In the ajent package, the iPad is recognized as a desktop environment and the two cannot be separated from each other.

@francislavoie
Copy link

FYI, it's not possible to differentiate iPad from desktop Safari purely from the user agent, they're reported the same. You need to use other mechanisms like some client-side JS checking whether the browser has navigator.maxTouchPoints (i.e. has touch-screen support, which macOS does not, for now).

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