ua-parser-js
ua-parser-js copied to clipboard
Samsung galaxy tab s8 and s9 devices are not recognised
Library version 0.7.30
Describe the bug Samsung Galaxy Tab s8 and s9 are returning empty object in below code const { device } = UAParser(); Therefore we're not able to identified that these devices are tablet, and instead it is behaving like desktop mode.
To Reproduce Steps to reproduce the behavior:
const { device } = UAParser(); console.log(device); // resulting output is {}
Expected behavior It should return device type as tablet
Screenshots
Smartphone (please complete the following information):
- Device: Samsung Galaxy Tablet s8 & s9
- OS: Android
- Browser : Chrome