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