Skip to content

Android Tablet Misclassified as Desktop #299

Open
@PramodPudale

Description

@PramodPudale

When using ngx-device-detector, Android tablets are incorrectly detected as desktop devices. This occurs even on clearly tablet-specific models such as Samsung Galaxy Tab.

Mozilla/5.0 (Linux; Android 10; SM-T515) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.66 Safari/537.36

This device is being identified as:
deviceService.isMobile() // false
deviceService.isTablet() // false
deviceService.isDesktop() // true ❌

The device should be detected as a tablet, not a desktop. Based on screen size and the Android OS, this is clearly a tablet use case.

ngx-device-detector: "8.0.0",
Angular: 18

Thank You.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions