Skip to content

Detect iPad OS 13+ with cdk/platform #17220

Open
@chrisjannenga

Description

@chrisjannenga

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/platform-checker

Steps to reproduce:

  1. Use the Platform Module
  2. Try to distinguish between iOS >= 12.4.1 and iPad OS > 13

Expected Behavior

What behavior were you expecting to see?

I am expecting to be able to tell if the iPad is running the new iPad OS or if it is still running iOS.

Actual Behavior

What behavior did you actually see?

Currently there isn't a check - An iPad running the new iPad OS set's the iOS flag to false. There is no way to verify if it is running the new iPad OS

Environment

  • Angular: 8.2.8
  • CDK/Material: 8.2.1
  • Browser(s): Any
  • Operating System (e.g. Windows, macOS, Ubuntu): iPad OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/platformfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions