Skip to content

Add a function into @capacitor/device which provides the channel (Tablet or Mobile) #2376

@Akash-Tapadia-DFT

Description

@Akash-Tapadia-DFT

Feature Request

Plugin

@capacitor/device - https://capacitorjs.com/docs/apis/device#deviceinfo

Description

Provide a function which can directly say whether the current device is a Tablet (Android and iOS iPads)
Currently we rely on the Model. But different Mobile Making Companies donot include Tablet in the model name.

Platform(s)

Android and iOS

Preferred Solution

  1. Solution can be based on the screen size.
  2. Also if there is any parameter which can be read from Native Android and iOS which clearly differentiate between Tablet devices and Mobile devices.

Alternatives

NA

Additional Context

NA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions