From e72bafe359bf270c9a7eb0942e413a020c5259c5 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 2 Jul 2020 07:45:40 +0200 Subject: [PATCH] MOBILE-3456 ws: Don't set http plugin header in Android --- src/providers/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } });