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