angular / angular/components

Detect iPad OS 13+ with cdk/platform

Open
#17,220 5 comments 12 reactions 0 assignees View on GitHub
area: cdk/platform feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### 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

Contributor guide

Open the contributing guide

Research direction

Start with the StackBlitz reproduction and the Angular CDK Platform Module described in the issue. Trace the existing iOS detection behavior and verify the result on iOS 12.4.1 and iPad OS 13+; done means callers can distinguish those platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.