MobileDetectBundle
MobileDetectBundle copied to clipboard
Tablet is detected as mobile
$this->detector->isMobile() raise true on tablet
Test on Ipad2/Safari, Samsung/Firefox and Huawei Firefox
Use with Symfony 3.4.9, MobileDetect V1.1
I have the same problem. Please note in my config.yml is:
mobile_detect:
redirect:
detect_tablet_as_mobile: false
Dont know if that also has any impact on twig functions or is strictly redirect-based...
I tried same approach as @StanislavUngr with no luck.
Emulating iPad (using Chrome device emulation) gives matches on both is_phone() and is_tablet().
MobileDetect v1.1.1, Symfony 4.4.11