mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 02:58:23 +01:00
12 lines
1.3 KiB
Markdown
12 lines
1.3 KiB
Markdown
**Known limitations**
|
|
|
|
* Mobile Detect script was designed to detect `mobile` devices. Implicitly other devices are considered to be `desktop`.
|
|
* User-Agent and HTTP headers sniffing is a non reliable method of detecting a mobile device.
|
|
* If the mobile browser is set on `Desktop mode`, the Mobile Detect script has no way of knowing that the device is `mobile`.
|
|
* Some touchscreen devices (eg. Microsoft Surface) are tough to detect as mobile since they can be used in a laptop mode. See: [#32](https://github.com/serbanghita/Mobile-Detect/issues/32), [#461](https://github.com/serbanghita/Mobile-Detect/issues/461), [#667](https://github.com/serbanghita/Mobile-Detect/issues/667)
|
|
* Some mobile devices (eg. IPadOS, Google Pixel Slate). See: [#795](https://github.com/serbanghita/Mobile-Detect/issues/795), [#788](https://github.com/serbanghita/Mobile-Detect/issues/788)
|
|
* Detecting the device brand (eg. Apple, Samsung, HTC) is not 100% reliable.
|
|
* We don't monitor the quality of the 3rd party tools based on Mobile Detect script.
|
|
We cannot guarantee that they are using the class properly or if they provide the latest version.
|
|
* Version `2.x` is made to be PHP 5.3 compatible because of the backward compatibility changes of PHP.
|
|
* There are hundreds of devices launched every month, we cannot keep a 100% up to date detection rate. |