serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
http://mobiledetect.net
MIT License
10.52k stars 2.67k forks source link

[bug] #959

Open Brecht272727 opened 1 month ago

Brecht272727 commented 1 month ago

Issue description:

Detecting not correct on different iPad's - isTablet and isMobile both return true in Chrome. Latest version (4.8.2)

user-agent: Mozilla/5.0 (iPad; CPU OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/92.0.4515.90 Mobile/15E148 Safari/604.1

Devices (same behaviour):

iPad Mini 2021 v15.5 iPad Mini 2019 v13.4 iPad Mini 2019 v12.2 iPad Air 6 v17.5 iPad Air 5 v15.4 iPad Air 4 v14.1 iPad 6th v11.3 iPad 7th v13.6 iPad 8th v14.0 iPad Pro 11 2021 v14.5 iPad Pro 11 2020 v16.3 iPad Pro 11 2022 v16.0 iPad Pro 11 2024 v17.5 iPad Pro 12.9 2018 v12.1 iPad Pro 13 2024 v17.5 iPad 9th v15.4 iPad 10th v16.0

In Safari browser it works good. If i use the demo.mobiledetect.net in Chrome browser it shows me that it is tablet... I don't understand this...