hisorange / browser-detect

Browser Detection for Laravel by hisorange!
https://browser-detect.com
MIT License
1.08k stars 143 forks source link

iPad detection not working #211

Open pquerner opened 9 months ago

pquerner commented 9 months ago

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 commented 9 months ago

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 :/