MobileDetectBundle icon indicating copy to clipboard operation
MobileDetectBundle copied to clipboard

Tablet is detected as mobile

Open lbernardxmp opened this issue 7 years ago • 2 comments

$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

lbernardxmp avatar Jun 21 '18 15:06 lbernardxmp

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...

StanislavUngr avatar Jan 14 '19 15:01 StanislavUngr

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

nagyalex avatar Aug 07 '20 20:08 nagyalex