angular / angular/components

Detect iPad OS 13+ with cdk/platform

Offen
#17,220 5 Kommentare 12 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: cdk/platform feature P3
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der im Issue beschriebenen StackBlitz-Reproduktion und dem Angular CDK Platform Module. Verfolge das bestehende iOS-Erkennungsverhalten und überprüfe das Ergebnis unter iOS 12.4.1 und iPad OS 13+; fertig ist es, wenn Aufrufer diese Plattformen unterscheiden können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.