MobileDetectBundle
MobileDetectBundle copied to clipboard
Symfony 5.0.x-7.x bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
uptdate to mobiledetectlib 4.8
fix some ci deprecations. I think the other deprecations should be handled in seperate PRs
Arguably, that first line should match the description (Symfony 5.4-7.0). But arguably anyone using unmaintained versions of Symfony could go back to the original bundle this was forked from.
https://github.com/tattali/MobileDetectBundle/blob/950bbe9aa549792133cfb7dcb27a9ab7762d0826/src/DependencyInjection/Configuration.php#L36 The method getRootNode only exists since Symfony v4.2. V2.* of this module is not compatible with Symfony 3.4, 4.0 and 4.1
you should update to "mobiledetect/mobiledetectlib": "^4.8" because version 2.8 do not support php 8 read more here https://packagist.org/packages/mobiledetect/mobiledetectlib
Rationale: With the cookie law, the cookie should not be set by default but only after the user agrees cookies. Suggested solution: 1. Add option called `cookies_accepted_cookie_name` # what is...
Hello, Could I have some tips to migrate easily from SunCat to Tattali ? Thanks
Version 7.0.0 Because the .env vars remain unknown at compilation time, the test `$this->validHost($config['redirect']['mobile']['host'])` made in [src/DependencyInjection/MobileDetectExtension.php:32](https://github.com/tattali/MobileDetectBundle/blob/72d032fc5b8d812a11086dcff2524ebf5a459b33/src/DependencyInjection/MobileDetectExtension.php#L32) is always false if the parameter contains a call to env(). Eventually, the...