The mobile detect bundle provides a cookie based method to switch the view. It's not required, because Contao provides it's own method. And for cache optimization the extra cookie should not be set.
As it's not possible to disable the cookie in the bundle, we use the mobile detect library directly. If someone required the mobile detect bundle one should have required it self, so it can be safely removed as dependencies in a feature release.
The mobile detect bundle provides a cookie based method to switch the view. It's not required, because Contao provides it's own method. And for cache optimization the extra cookie should not be set.
As it's not possible to disable the cookie in the bundle, we use the mobile detect library directly. If someone required the mobile detect bundle one should have required it self, so it can be safely removed as dependencies in a feature release.