diff --git a/src/providers/ws.ts b/src/providers/ws.ts index 97f8ee323..86fd9070a 100644 --- a/src/providers/ws.ts +++ b/src/providers/ws.ts @@ -162,7 +162,7 @@ export class CoreWSProvider { this.logger = logger.getInstance('CoreWSProvider'); platform.ready().then(() => { - if (this.appProvider.isMobile()) { + if (this.appProvider.isIOS()) { ( cordova).plugin.http.setHeader('User-Agent', navigator.userAgent); } });