From 51c50908d3c02223b945366f3ca980a57dbde98d Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 10 May 2021 12:57:42 +0200 Subject: [PATCH] MOBILE-3320 core: Fix user agent in Android --- src/core/services/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/ws.ts b/src/core/services/ws.ts index 34543069e..d78c54e57 100644 --- a/src/core/services/ws.ts +++ b/src/core/services/ws.ts @@ -63,7 +63,7 @@ export class CoreWSProvider { protected async init(): Promise { await Platform.ready(); - if (CoreApp.isIOS()) { + if (CoreApp.isMobile()) { NativeHttp.setHeader('*', 'User-Agent', navigator.userAgent); } }