how to check platform.is('cordova') in ionic-native code example
Example: ionic web platform
if(!this.platform.is('ios') && !this.platform.is('android'))
{
// todo
}
if(!this.platform.is('ios') && !this.platform.is('android'))
{
// todo
}