2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/includes/mobiledetect/mobiledetectlib/docs/KNOWN_LIMITATIONS.md
2020-03-13 02:28:01 +01:00

1.3 KiB

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, #461, #667
  • Some mobile devices (eg. IPadOS, Google Pixel Slate). See: #795, #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.