Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tablet is detected as mobile #128

Open
lbernardxmp opened this issue Jun 21, 2018 · 2 comments
Open

Tablet is detected as mobile #128

lbernardxmp opened this issue Jun 21, 2018 · 2 comments

Comments

@lbernardxmp
Copy link

$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

@StanislavUngr
Copy link

StanislavUngr commented Jan 14, 2019

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

@nagyalex
Copy link

nagyalex commented Aug 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants