Experience-Monks / Experience-Monks/detect
[Bug] iPad iOS13/14 returns desktop
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
iPad iOS13/14 returns desktop
## To Reproduce
Can be tested in XCode
## Screenshots

## Additional context
I tested with upgrading to latest `bowser@2.11` and it's the same result
We can add touch device detection e.g.
```
export const isTouchDevice =
typeof window !== 'undefined' &&
('ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0);
```
but idk if we can distinguish tablet anymore (by the user agent) other than detecting if it's a touch device and not a phone
@iranreyes
Contributor guide
Assessment
This issue has not been assessed yet.