how gte platform name in ionic3 code example
Example 1: ionic web platform
if(!this.platform.is('ios') && !this.platform.is('android'))
{
// todo
}
Example 2: ionic is web check
this.isApp = (!document.URL.startsWith(‘http’) || document.URL.startsWith(‘http://localhost:8080’));