Platform iOS 13.4 no detect

Platform (@ ionic / angular) does not detect the platform for ios 13.4 (tested on ipad ios 13.4 emulator)

Hey there. Can you provide some example of how you are trying to detect the platform? what code are you using?

import { Platform } from “@ionic/angular”;


constructor(
private platform: Platform
) {

}

public load() {
if(this.platform.is(“ios”) {

}
}

i’am use ionic 6.9.2
with versions prior to ios 13.4 it works correctly. only happens with ios 13.4

Mmm, I just tried this with capacitor, and it worked fine for me :thinking:

Are you using cordova?

yes. cordova and angular

try adding a platform.ready call before hand

    this.plt.ready().then(() => {
      console.log(this.plt.is('ios'));
    })

Otherwise the device features on cordova wont be 100%

before…

  this.platform.ready().then(() => {
     this.systemService.load().then(() => {