Skip to content

Commit 25fff62

Browse files
authored
Fix #502 #580 : Add notice for desktop device type
1 parent f54d3fa commit 25fff62

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

+7
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ Yandex, baidu, iCab, w3m, Whale Browser...
6161
# Possible 'device.type':
6262
console, mobile, tablet, smarttv, wearable, embedded
6363

64+
##########
65+
# NOTE: 'desktop' is not a possible device type.
66+
# UAParser only reports info directly available from the UA string, which is not the case for 'desktop' device type.
67+
# If you wish to detect desktop devices, you must handle the needed logic yourself.
68+
# You can read more about it in this issue: https://github.com/faisalman/ua-parser-js/issues/182
69+
##########
70+
6471
# Possible 'device.vendor':
6572
Acer, Alcatel, Amazon, Apple, Archos, ASUS, AT&T, BenQ, BlackBerry, Dell,
6673
Essential, Fairphone, GeeksPhone, Google, HP, HTC, Huawei, Jolla, Lenovo, LG,

0 commit comments

Comments
 (0)