ionic 5 this.platform code example Example: ionic web platform if(!this.platform.is('ios') && !this.platform.is('android')) { // todo }