AhsanAyaz / ngx-device-detector

An Angular v7+ library to detect the device, OS, and browser details.
https://ahsanayaz.github.io/ngx-device-detector
MIT License
520 stars 101 forks source link

Chrome and Safari on Mac are no longer detected as Desktop #210

Closed simdrouin closed 3 years ago

simdrouin commented 3 years ago

Hi,

It looks like with the latest version, v2.0.8, when using Chrome and Safari on Mac, deviceDetector.isDesktop() returns false.

Reverting to v2.0.7 fixes the issue.

My user agent on Chrome: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36

And on Safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15

AhsanAyaz commented 3 years ago

@simdrouin . Fixed in Release v2.0.9